commit | 3196529f3cd5af02029e7687fa45fb98a71a5de1 | [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 | a651cb41321fefcce35ad03b6ec6dbc9558935f5 | |
parent | c63be46b23cbf4c171f61ad8884fcaa0aa72dec3 [diff] [blame] |
Fix wrong way of adding Error information in shutil.copytree.
diff --git a/Lib/shutil.py b/Lib/shutil.py index dca4d2e..420802f 100644 --- a/Lib/shutil.py +++ b/Lib/shutil.py
@@ -203,7 +203,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