Misc small changes

Go over history yet again
code cleanups.
This commit is contained in:
rocky
2016-05-16 10:15:55 -04:00
parent ebfe5e3ba8
commit 134b67d952
5 changed files with 51 additions and 21 deletions

View File

@@ -33,9 +33,11 @@ def uncompyle(version, co, out=None, showasm=False, showast=False,
code_objects=code_objects)
except pysource.SourceWalkerError as e:
# deparsing failed
print("\n")
if real_out != out:
print("\n", file=real_out)
print(e, file=real_out)
raise
def uncompyle_file(filename, outstream=None, showasm=False, showast=False,