From a4715ad4c7f73c1c4cb261419be594e9defcd13a Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 31 Oct 2010 21:59:21 +0100 Subject: [PATCH] Resort to Python 2.5 exception syntax for now --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index 3722acf6..6e5324e2 100644 --- a/wscript +++ b/wscript @@ -615,5 +615,6 @@ def shutdown (): command += ' ' + relfolder + os.sep + APPNAME + os.sep + APPNAME print (command) Utils.exec_command (command) - except Exception as msg: + # except Exception as msg: + except Exception, msg: Utils.pprint ('RED', "Failed to run application: " + str (msg)) -- 2.39.5