[New-bugs-announce] [issue1696] Distutils ignore dry-run flag at clean-up of distutils.command.build_scripts.copy_scripts

toxik report at bugs.python.org
Tue Dec 25 04:56:15 CET 2007


New submission from toxik:

It's actually py251.

113             else:
114                 f.close()
115                 self.copy_file(script, outfile)

Earlier, f is set to None if file is not found, and we are in dry-run
mode. Simple solution:

113             elif f:
114                 f.close()
115                 self.copy_file(script, outfile)

----------
components: Distutils
messages: 58988
nosy: ludvig.ericson
severity: normal
status: open
title: Distutils ignore dry-run flag at clean-up of distutils.command.build_scripts.copy_scripts
type: crash
versions: Python 2.5

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1696>
__________________________________


More information about the New-bugs-announce mailing list