[Xfce4-commits] <midori:master> Resort to Python 2.5 exception syntax for now

Christian Dywan noreply at xfce.org
Sun Oct 31 22:00:01 CET 2010


Updating branch refs/heads/master
         to a4715ad4c7f73c1c4cb261419be594e9defcd13a (commit)
       from b28c828f02e0af5fe9c433fce6c6f87dc9f75235 (commit)

commit a4715ad4c7f73c1c4cb261419be594e9defcd13a
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Oct 31 21:59:21 2010 +0100

    Resort to Python 2.5 exception syntax for now

 wscript |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/wscript b/wscript
index 3722acf..6e5324e 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))



More information about the Xfce4-commits mailing list