[Python-checkins] cpython (3.2): Fix wrong way of adding Error information in shutil.copytree.
georg.brandl
python-checkins at python.org
Sat Aug 25 10:12:54 CEST 2012
http://hg.python.org/cpython/rev/a2bf95458eed
changeset: 78761:a2bf95458eed
branch: 3.2
parent: 78756:121cb9596e7d
user: Georg Brandl <georg at python.org>
date: Sat Aug 25 10:11:57 2012 +0200
summary:
Fix wrong way of adding Error information in shutil.copytree.
files:
Lib/shutil.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/shutil.py b/Lib/shutil.py
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -236,7 +236,7 @@
# 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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list