Message ID | 1377015041-6567-12-git-send-email-lcapitulino@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/scripts/qapi.py b/scripts/qapi.py index 0ebea94..1069310 100644 --- a/scripts/qapi.py +++ b/scripts/qapi.py @@ -161,7 +161,7 @@ class QAPISchema: def parse_schema(fp): try: schema = QAPISchema(fp) - except QAPISchemaError as e: + except QAPISchemaError, e: print >>sys.stderr, e exit(1)