summaryrefslogtreecommitdiff
path: root/dbus/_expat_introspect_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/_expat_introspect_parser.py')
-rw-r--r--dbus/_expat_introspect_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/_expat_introspect_parser.py b/dbus/_expat_introspect_parser.py
index 96b27ad..de38c45 100644
--- a/dbus/_expat_introspect_parser.py
+++ b/dbus/_expat_introspect_parser.py
@@ -81,5 +81,5 @@ def process_introspection_data(data):
"""
try:
return _Parser().parse(data)
- except Exception, e:
+ except Exception as e:
raise IntrospectionParserException('%s: %s' % (e.__class__, e))