git @ Cat's Eye Technologies SixtyPical / 1e1b167
What if this Chris Pressey 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1818
1919 lines = [line for line in check_output("dcc6502 -o 2061 {}".format(filename), shell=True).split('\n') if line and not line.startswith(';')]
2020 lines = [re.sub(r'\s*\;.*$', '', line) for line in lines]
21 lines.pop()
21 #lines.pop()
2222 sys.stdout.write('\n'.join(lines))