Revert "fix bug : not generate all files when use "-ro""

This commit is contained in:
R. Bernstein
2017-01-11 07:09:18 -05:00
committed by GitHub
parent 78a5b620a7
commit 5035d5433b

View File

@@ -143,7 +143,6 @@ def main(in_base, out_base, files, codes, outfile=None,
# Try to uncompile the input file # Try to uncompile the input file
try: try:
decompile_file(infile, outstream, showasm, showast, showgrammar) decompile_file(infile, outstream, showasm, showast, showgrammar)
outfile = None
tot_files += 1 tot_files += 1
except (ValueError, SyntaxError, ParserError, pysource.SourceWalkerError) as e: except (ValueError, SyntaxError, ParserError, pysource.SourceWalkerError) as e:
sys.stdout.write("\n") sys.stdout.write("\n")