Message218044
The attached patch adds an example to the shutil documentation showing how to use an onerror handler to reattempt the removal of a read-only file. It's deliberately low-tech and simply removes the attribute and retries. If there's some other obstacle, it will continue to fail as it would have done in any case. |
|
Date |
User |
Action |
Args |
2014-05-07 10:17:08 | tim.golden | set | recipients:
+ tim.golden, paul.moore, r.david.murray, zach.ware, Jovik, ivan.radic |
2014-05-07 10:17:08 | tim.golden | set | messageid: <1399457828.21.0.187509874819.issue19643@psf.upfronthosting.co.za> |
2014-05-07 10:17:08 | tim.golden | link | issue19643 messages |
2014-05-07 10:17:07 | tim.golden | create | |
|