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 SilentGhost
Recipients SilentGhost, arkady.koplyarov, brian.curtin, ncoghlan
Date 2011-03-16.22:53:59
SpamBayes Score 0.00080119935
Marked as misclassified No
Message-id <1300316040.53.0.0715420405397.issue11577@psf.upfronthosting.co.za>
In-reply-to
Content
Arkady, I don't see why you need to catch exception. Just wrap the _writeinfo call into a try-finally block, and close ofp in the finally.
History
Date User Action Args
2011-03-16 22:54:00SilentGhostsetrecipients: + SilentGhost, ncoghlan, brian.curtin, arkady.koplyarov
2011-03-16 22:54:00SilentGhostsetmessageid: <1300316040.53.0.0715420405397.issue11577@psf.upfronthosting.co.za>
2011-03-16 22:53:59SilentGhostlinkissue11577 messages
2011-03-16 22:53:59SilentGhostcreate