Mercurial > hg-stable
changeset 20243:cc09cfea3dd4
check-code: print debug output when an ignore pattern matches
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Tue, 07 Jan 2014 22:29:57 +0100 |
parents | 2dad90bdf29d |
children | 47d0843647d1 |
files | contrib/check-code.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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: