Commit c83efc88 authored by Simon Feltman's avatar Simon Feltman
Browse files

giscanner: Use modern exception handling for Python 3 compatibility

https://bugzilla.gnome.org/show_bug.cgi?id=679438
parent 7af04431
......@@ -747,7 +747,7 @@ class MainTransformer(object):
field.doc = tag.description
try:
self._adjust_container_type(parent, field, tag.annotations)
except AttributeError, ex:
except AttributeError as ex:
print ex
def _apply_annotations_property(self, parent, prop):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment