commit | c8076dfa9dfafbb5455c127719e3ac5b325986b1 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sat Aug 25 10:11:57 2012 +0200 |
committer | Georg Brandl <georg@python.org> | Sat Aug 25 10:11:57 2012 +0200 |
tree | 8e2bbeac626ba7a23439c99058b19fb509e5307a | |
parent | 6f64796c2269a49581b3780bb31c37dee4912d4a [diff] |
Fix wrong way of adding Error information in shutil.copytree.
diff --git a/Lib/shutil.py b/Lib/shutil.py index 2d7a506..ef29ae2 100644 --- 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)