From: Christian Dywan Date: Sun, 31 Oct 2010 20:59:21 +0000 (+0100) Subject: Resort to Python 2.5 exception syntax for now X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4715ad4c7f73c1c4cb261419be594e9defcd13a;p=midori Resort to Python 2.5 exception syntax for now --- 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))