diff options
Diffstat (limited to 'test/set-call-forwarding')
-rwxr-xr-x | test/set-call-forwarding | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/set-call-forwarding b/test/set-call-forwarding index a22a6730..8f0722ed 100755 --- a/test/set-call-forwarding +++ b/test/set-call-forwarding @@ -46,13 +46,13 @@ if __name__ == "__main__": try: cf.SetProperty(property, dbus.UInt16(value), timeout = 100) - except dbus.DBusException, e: + except dbus.DBusException as e: print("Unable SetProperty %s" % e) sys.exit(1); else: try: cf.SetProperty(property, value, timeout = 100) - except dbus.DBusException, e: + except dbus.DBusException as e: print("Unable SetProperty %s" % e) sys.exit(1); |