Author mhammond
Recipients mhammond
Date 2008-10-04.00:55:53
SpamBayes Score 3.31446e-05
Marked as misclassified No
Message-id <1223081756.15.0.501609436342.issue4038@psf.upfronthosting.co.za>
In-reply-to
Content
All the exception handlers i dustutils.file_utils._copy_file_contents()
are of the form:

|except os.error as e:
|    (errno, errstr) = e

This fails to unpack the exception in py3k.  I'm attaching a patch that
uses exception attributes rather than unpacking e.args.  FWIW, one of
these exceptions in particular is likely to get hit on Windows if the
destination file is in use, as Windows can't replace such files.  This
isn't a huge problem in practice as it only hits when an error occurs.
History
Date User Action Args
2008-10-04 00:55:56mhammondsetrecipients: + mhammond
2008-10-04 00:55:56mhammondsetmessageid: <1223081756.15.0.501609436342.issue4038@psf.upfronthosting.co.za>
2008-10-04 00:55:54mhammondlinkissue4038 messages
2008-10-04 00:55:54mhammondcreate