Message231297
If the_oserror.filename is not None then str(the_oserror) appends the
filename twice:
[Errno 2] No such file or directory: 'nonexistent': 'nonexistent'
You could remove `err_msg += ':' ...` statements to avoid the
repeatition. It may break the code that uses strerror attribute. But
exception error messages are explicitly excluded from backward
compatibility considirations therefore it might be ok to break it
here. I can't find the reference so it should probably be resolved as a
new issue (independent from providing the filename attribute value). |
|
Date |
User |
Action |
Args |
2014-11-17 21:28:04 | akira | set | recipients:
+ akira, gregory.p.smith, ronaldoussoren, tshepang, berker.peksag, charpov, travis.thieman |
2014-11-17 21:28:04 | akira | set | messageid: <1416259684.39.0.29212294661.issue22536@psf.upfronthosting.co.za> |
2014-11-17 21:28:04 | akira | link | issue22536 messages |
2014-11-17 21:28:04 | akira | create | |
|