Commit 3196529f authored by Georg Brandl's avatar Georg Brandl

Fix wrong way of adding Error information in shutil.copytree.

parent c63be46b
......@@ -203,7 +203,7 @@ def copytree(src, dst, symlinks=False, ignore=None):
# Copying file access times may fail on Windows
pass
else:
errors.extend((src, dst, str(why)))
errors.append((src, dst, str(why)))
if errors:
raise Error, errors
......
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