Show More
@@ -410,9 +410,9 b' def checkfile(f, logfunc=_defaultlogger.' | |||
|
410 | 410 | fp = open(f) |
|
411 | 411 | pre = post = fp.read() |
|
412 | 412 | fp.close() |
|
413 |
if "no-" |
|
|
413 | if "no-" "check-code" in pre: | |
|
414 | 414 | if debug: |
|
415 |
print "Skipping %s for %s it has no- |
|
|
415 | print "Skipping %s for %s it has no-" " check-code" % ( | |
|
416 | 416 | name, f) |
|
417 | 417 | break |
|
418 | 418 | for p, r in filters: |
@@ -451,9 +451,9 b' def checkfile(f, logfunc=_defaultlogger.' | |||
|
451 | 451 | n += 1 |
|
452 | 452 | l = prelines[n] |
|
453 | 453 | |
|
454 |
if "check-code" |
|
|
454 | if "check-code" "-ignore" in l: | |
|
455 | 455 | if debug: |
|
456 | print "Skipping %s for %s:%s (check-code -ignore)" % ( | |
|
456 | print "Skipping %s for %s:%s (check-code" "-ignore)" % ( | |
|
457 | 457 | name, f, n) |
|
458 | 458 | continue |
|
459 | 459 | elif ignore and re.search(ignore, l, re.MULTILINE): |
General Comments 0
You need to be logged in to leave comments.
Login now