Restore python 2.5 compatibility in both clients.
This commit is contained in:
1 parent
e10969637a
commit
9ec96c1254
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user