diff --git a/contrib/check-code.py b/contrib/check-code.py --- a/contrib/check-code.py +++ b/contrib/check-code.py @@ -494,12 +494,7 @@ def checkfile(f, logfunc=_defaultlogger. n += 1 l = prelines[n] - if "check-code" "-ignore" in l: - if debug: - print "Skipping %s for %s:%s (check-code" "-ignore)" % ( - name, f, n) - continue - elif ignore and re.search(ignore, l, re.MULTILINE): + if ignore and re.search(ignore, l, re.MULTILINE): continue bd = "" if blame: