contrib/check-code.py
changeset 28050 7e9e39228de6
parent 28035 c65da6892ae5
child 28053 34a2944aac9b
equal deleted inserted replaced
28049:c00f67c15c5a 28050:7e9e39228de6
   483 
   483 
   484     for name, match, magic, filters, pats in checks:
   484     for name, match, magic, filters, pats in checks:
   485         if debug:
   485         if debug:
   486             print name, f
   486             print name, f
   487         fc = 0
   487         fc = 0
   488         if not (re.match(match, f) or (magic and re.search(magic, f))):
   488         if not (re.match(match, f) or (magic and re.search(magic, pre))):
   489             if debug:
   489             if debug:
   490                 print "Skipping %s for %s it doesn't match %s" % (
   490                 print "Skipping %s for %s it doesn't match %s" % (
   491                        name, match, f)
   491                        name, match, f)
   492             continue
   492             continue
   493         if "no-" "check-code" in pre:
   493         if "no-" "check-code" in pre: