This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ludvig.ericson
Recipients ludvig.ericson
Date 2007-12-25.03:56:13
SpamBayes Score 0.0
Marked as misclassified No
Message-id <1198554975.27.0.859114364636.issue1696@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2009-11-16 15:05:05georg.brandlsetspambayes_score: 0.661166 -> 0.0
2007-12-25 03:56:15ludvig.ericsonsetspambayes_score: 0.661166 -> 0.661166
recipients: + ludvig.ericson
2007-12-25 03:56:15ludvig.ericsonsetspambayes_score: 0.661166 -> 0.661166
messageid: <1198554975.27.0.859114364636.issue1696@psf.upfronthosting.co.za>
2007-12-25 03:56:15ludvig.ericsonlinkissue1696 messages
2007-12-25 03:56:14ludvig.ericsoncreate