projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8940a1
)
scanner: don't show 'warnings suppressed' if --warn-all in use
author
Jonathan Matthew
<jonathan@d14n.org>
Tue, 26 Oct 2010 23:56:44 +0000
(09:56 +1000)
committer
Jonathan Matthew
<jonathan@d14n.org>
Tue, 16 Nov 2010 00:40:54 +0000
(10:40 +1000)
https://bugzilla.gnome.org/show_bug.cgi?id=633227
giscanner/scannermain.py
patch
|
blob
|
history
diff --git
a/giscanner/scannermain.py
b/giscanner/scannermain.py
index 79d85c55499934c971c54bb8a4d8f3eefb92cd44..33e719eaeb64e0f6b8ec7a8b8821696f65bcbf98 100644
(file)
--- a/
giscanner/scannermain.py
+++ b/
giscanner/scannermain.py
@@
-412,7
+412,7
@@
def scanner_main(args):
if options.warn_fatal and warning_count > 0:
message.fatal("warnings configured as fatal")
return 1
- elif warning_count > 0:
+ elif warning_count > 0
and options.warn_all is False
:
print ("g-ir-scanner: %s: warning: %d warnings suppressed (use --warn-all to see them)"
% (transformer.namespace.name, warning_count, ))