Patch #1696. Don't attempt to close None in dry-run mode.
This commit is contained in:
parent
fed3ebc000
commit
27edd829d7
|
@ -112,6 +112,7 @@ class build_scripts (Command):
|
|||
if f:
|
||||
f.close()
|
||||
else:
|
||||
if f:
|
||||
f.close()
|
||||
self.copy_file(script, outfile)
|
||||
|
||||
|
|
Loading…
Reference in New Issue