Merge branch 'master' into python-2.4

This commit is contained in:
rocky
2018-02-05 06:27:33 -05:00
14 changed files with 330 additions and 213 deletions

View File

@@ -207,7 +207,7 @@ def main(in_base, out_base, files, codes, outfile=None,
for d in deparsed:
last_mod = None
offsets = d.offsets
for e in sorted(offsets.keys()):
for e in sorted([k for k in offsets.keys() if isinstance(k[1], int)]):
if e[0] != last_mod:
line = '=' * len(e[0])
outstream.write("%s\n%s\n%s\n" % (line, e[0], line))