contrib/check-code.py
changeset 15544 53ef627cda30
parent 15502 7917a104a285
child 15611 ec8a49c46d7e
--- a/contrib/check-code.py	Mon Nov 21 13:11:17 2011 -0600
+++ b/contrib/check-code.py	Tue Nov 22 01:37:26 2011 +0100
@@ -420,8 +420,8 @@
     else:
         check = args
 
+    ret = 0
     for f in check:
-        ret = 0
         if not checkfile(f, maxerr=options.per_file, warnings=options.warnings,
                          blame=options.blame, debug=options.debug,
                          lineno=options.lineno):