projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37bc815
)
Fixed broken list extend in 'copy_tree()'.
author
Greg Ward
<gward@python.net>
Sun, 30 Jan 2000 19:57:48 +0000
(19:57 +0000)
committer
Greg Ward
<gward@python.net>
Sun, 30 Jan 2000 19:57:48 +0000
(19:57 +0000)
Lib/distutils/util.py
patch
|
blob
|
history
diff --git
a/Lib/distutils/util.py
b/Lib/distutils/util.py
index 953c2e26e2a8c2979801aaa688b82e0e22723050..58d58439e0b9ffaa1b2c3fae962cb09629cfd13c 100644
(file)
--- a/
Lib/distutils/util.py
+++ b/
Lib/distutils/util.py
@@
-349,10
+349,10
@@
def copy_tree (src, dst,
outputs.append (dst_name)
elif os.path.isdir (src_name):
- outputs
[-1:] = \
+ outputs
.extend (
copy_tree (src_name, dst_name,
preserve_mode, preserve_times, preserve_symlinks,
- update, verbose, dry_run)
+ update, verbose, dry_run)
)
else:
if (copy_file (src_name, dst_name,
preserve_mode, preserve_times,