Kaydet (Commit) ba74885e authored tarafından Tim Golden's avatar Tim Golden

Issue19643 Fix whitespace

üst 78337799
......@@ -433,12 +433,12 @@ will propagate. ::
import os, stat
import shutil
def remove_readonly(func, path, _):
"Clear the readonly bit and reattempt the removal"
os.chmod(path, stat.S_IWRITE)
func(path)
func(path)
shutil.rmtree(directory, onerror=remove_readonly)
.. _archiving-operations:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment