summaryrefslogtreecommitdiff
path: root/Lib/shutil.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-08-25 10:11:57 +0200
committerGeorg Brandl <georg@python.org>2012-08-25 10:11:57 +0200
commit3196529f3cd5af02029e7687fa45fb98a71a5de1 (patch)
treea651cb41321fefcce35ad03b6ec6dbc9558935f5 /Lib/shutil.py
parentc63be46b23cbf4c171f61ad8884fcaa0aa72dec3 (diff)
downloadcpython-git-3196529f3cd5af02029e7687fa45fb98a71a5de1.tar.gz
Fix wrong way of adding Error information in shutil.copytree.
Diffstat (limited to 'Lib/shutil.py')
-rw-r--r--Lib/shutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py
index dca4d2efeb..420802fafd 100644
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -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