Resort to Python 2.5 exception syntax for now

This commit is contained in:
Christian Dywan 2010-10-31 21:59:21 +01:00
parent b28c828f02
commit a4715ad4c7

View file

@ -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))