equal
deleted
inserted
replaced
40 continue # no pattern matched, next line |
40 continue # no pattern matched, next line |
41 fn = line.split(':', 1)[0] |
41 fn = line.split(':', 1)[0] |
42 f = open(os.path.join(os.path.dirname(os.path.dirname(__file__)), fn)) |
42 f = open(os.path.join(os.path.dirname(os.path.dirname(__file__)), fn)) |
43 data = f.read() |
43 data = f.read() |
44 f.close() |
44 f.close() |
45 if 'no-check-code' in data: |
45 if 'no-' 'check-code' in data: |
46 continue |
46 continue |
47 lines.append((msgtype, line)) |
47 lines.append((msgtype, line)) |
48 |
48 |
49 for msgtype, line in sorted(lines, key = makekey): |
49 for msgtype, line in sorted(lines, key = makekey): |
50 sys.stdout.write(line) |
50 sys.stdout.write(line) |