Show More
@@ -24,10 +24,9 b' for line in sys.stdin:' | |||
|
24 | 24 | break # pattern matches |
|
25 | 25 | if keep: |
|
26 | 26 | fn = line.split(':', 1)[0] |
|
27 |
|
|
|
28 | data = f.read() | |
|
29 | f.close() | |
|
30 | if 'no-' 'check-code' in data: | |
|
27 | with open(fn, 'rb') as f: | |
|
28 | data = f.read() | |
|
29 | if b'no-' b'check-code' in data: | |
|
31 | 30 | continue |
|
32 | 31 | lines.append(line) |
|
33 | 32 |
General Comments 0
You need to be logged in to leave comments.
Login now