Commit 30e73c78 authored by Guido van Rossum's avatar Guido van Rossum

Patch #1696. Don't attempt to call None.close() in dry-run mode.

parent 200d0eac
......@@ -111,6 +111,7 @@ class build_scripts (Command):
if f:
f.close()
else:
if f:
f.close()
self.copy_file(script, outfile)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment