Restore python 2.5 compatibility in both clients.

This commit is contained in:
Andrew Psaltis committed 2009-06-20 21:41:17 -04:00
1 parent e10969637a
commit 9ec96c1254
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ def catchdbus(func):
def wrapper(*args, **kwargs):
try:
return func(*args, **kwargs)
except DBusException as e:
except DBusException, e:
if e.get_dbus_name() != None and "DBus.Error.AccessDenied" in e.get_dbus_name():
error(None, language['access_denied'])
#raise