summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-09-03 12:22:47 -0400
committerColin Walters <walters@verbum.org>2010-09-03 12:22:47 -0400
commit381bdbb54a588bdeabe072869c2a4fc6e44e4f5e (patch)
tree3ded08d27924205d0ca5ca54582358e80aa426fb
parentb6c37abc02d4e1233f372aa08ac049586c7b76a0 (diff)
downloadgobject-introspection-381bdbb54a588bdeabe072869c2a4fc6e44e4f5e.tar.gz
scanner: Actually exit with code 1 on fatal warnings again
-rw-r--r--giscanner/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/message.py b/giscanner/message.py
index da53b70c..7644c1ea 100644
--- a/giscanner/message.py
+++ b/giscanner/message.py
@@ -97,7 +97,7 @@ If the warning is related to a ast.Node type, see log_node_warning()."""
'''%s: %s: %s: %s\n''' % (last_position, error_type, self._namespace.name, text))
if log_type == FATAL:
- raise SystemExit
+ raise SystemExit(1)
def log_node(self, log_type, node, text, context=None):
"""Log a warning, using information about file positions from