Commit f39231c3 authored by Julien Muchembled's avatar Julien Muchembled

fixup! Make buildout.rmtree working with symlink as a path argument

This fixes a syntax error on Python 3.
parent 632b6015
...@@ -97,7 +97,7 @@ def rmtree (path): ...@@ -97,7 +97,7 @@ def rmtree (path):
raise raise
os.unlink(path) os.unlink(path)
else: else:
os.chmod(path, 0600) os.chmod(path, 0o600)
func(path) func(path)
shutil.rmtree (path, onerror = retry_writeable) shutil.rmtree (path, onerror = retry_writeable)
......
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