# HG changeset patch # User Simon Heimberg # Date 1389130197 -3600 # Node ID cc09cfea3dd4881cac9e730fa4ad3a58bf22aaf1 # Parent 2dad90bdf29d4f6fd331bd5cb01f45b422cc863f check-code: print debug output when an ignore pattern matches diff -r 2dad90bdf29d -r cc09cfea3dd4 contrib/check-code.py --- a/contrib/check-code.py Tue Jan 07 22:29:51 2014 +0100 +++ b/contrib/check-code.py Tue Jan 07 22:29:57 2014 +0100 @@ -495,6 +495,9 @@ l = prelines[n] if ignore and re.search(ignore, l, re.MULTILINE): + if debug: + print "Skipping %s for %s:%s (ignore pattern)" % ( + name, f, n) continue bd = "" if blame: