diff options
-rw-r--r-- | giscanner/maintransformer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py index d9811cfb..47d7bec4 100644 --- a/giscanner/maintransformer.py +++ b/giscanner/maintransformer.py @@ -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): |