]> spindle.queued.net Git - midori/commitdiff
Resort to Python 2.5 exception syntax for now
authorChristian Dywan <christian@twotoasts.de>
Sun, 31 Oct 2010 20:59:21 +0000 (21:59 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 31 Oct 2010 20:59:21 +0000 (21:59 +0100)
wscript

diff --git a/wscript b/wscript
index 3722acf634818f7bf556df1262faa39f02a5ac61..6e5324e2227e43080abbfc5f86be04aede2d4cb6 100644 (file)
--- 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))