Author tim.golden
Recipients Jovik, ivan.radic, paul.moore, r.david.murray, tim.golden, zach.ware
Date 2014-05-07.10:17:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399457828.21.0.187509874819.issue19643@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-05-07 10:17:08tim.goldensetrecipients: + tim.golden, paul.moore, r.david.murray, zach.ware, Jovik, ivan.radic
2014-05-07 10:17:08tim.goldensetmessageid: <1399457828.21.0.187509874819.issue19643@psf.upfronthosting.co.za>
2014-05-07 10:17:08tim.goldenlinkissue19643 messages
2014-05-07 10:17:07tim.goldencreate