diff options
Diffstat (limited to 'examples/example-client.py')
-rw-r--r-- | examples/example-client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-client.py b/examples/example-client.py index 796f262..262f892 100644 --- a/examples/example-client.py +++ b/examples/example-client.py @@ -65,7 +65,7 @@ def main(): # D-Bus exceptions are mapped to Python exceptions try: iface.RaiseException() - except dbus.DBusException, e: + except dbus.DBusException as e: print str(e) # introspection is automatically supported |