Message74292
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. |
|
Date |
User |
Action |
Args |
2008-10-04 00:55:56 | mhammond | set | recipients:
+ mhammond |
2008-10-04 00:55:56 | mhammond | set | messageid: <1223081756.15.0.501609436342.issue4038@psf.upfronthosting.co.za> |
2008-10-04 00:55:54 | mhammond | link | issue4038 messages |
2008-10-04 00:55:54 | mhammond | create | |
|