equal
deleted
inserted
replaced
535 except IOError as e: |
535 except IOError as e: |
536 print("Skipping %s, %s" % (f, str(e).split(':', 1)[0])) |
536 print("Skipping %s, %s" % (f, str(e).split(':', 1)[0])) |
537 return result |
537 return result |
538 |
538 |
539 for name, match, magic, filters, pats in checks: |
539 for name, match, magic, filters, pats in checks: |
|
540 post = pre # discard filtering result of previous check |
540 if debug: |
541 if debug: |
541 print(name, f) |
542 print(name, f) |
542 fc = 0 |
543 fc = 0 |
543 if not (re.match(match, f) or (magic and re.search(magic, pre))): |
544 if not (re.match(match, f) or (magic and re.search(magic, pre))): |
544 if debug: |
545 if debug: |