diff -r c00f67c15c5a -r 7e9e39228de6 contrib/check-code.py --- a/contrib/check-code.py Wed Feb 10 22:44:29 2016 +0900 +++ b/contrib/check-code.py Wed Feb 10 22:44:29 2016 +0900 @@ -485,7 +485,7 @@ if debug: print name, f fc = 0 - if not (re.match(match, f) or (magic and re.search(magic, f))): + if not (re.match(match, f) or (magic and re.search(magic, pre))): if debug: print "Skipping %s for %s it doesn't match %s" % ( name, match, f)