Remove the temporary byte-compilation script when we're done with it.

This commit is contained in:
Greg Ward 2000-10-02 02:09:55 +00:00
parent c1acc69018
commit 04cc88df05
1 changed files with 1 additions and 0 deletions

View File

@ -369,6 +369,7 @@ byte_compile(files, optimize=%s, force=%s,
elif optimize == 2:
cmd.insert(1, "-OO")
spawn(cmd, verbose=verbose, dry_run=dry_run)
os.remove(script_name)
# "Direct" byte-compilation: use the py_compile module to compile
# right here, right now. Note that the script generated in indirect