diff options
author | Greg Ward <gward@python.net> | 2000-01-30 19:57:48 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-01-30 19:57:48 (GMT) |
commit | a002edc85b25160cfffe610df9ab7337efc8f0c0 (patch) | |
tree | aea697b0a44fd10875d3e8a33f17de01b748e123 /Lib/distutils/util.py | |
parent | 37bc81505379facad85a7c6ff273de0201f28656 (diff) | |
download | cpython-a002edc85b25160cfffe610df9ab7337efc8f0c0.zip cpython-a002edc85b25160cfffe610df9ab7337efc8f0c0.tar.gz cpython-a002edc85b25160cfffe610df9ab7337efc8f0c0.tar.bz2 |
Fixed broken list extend in 'copy_tree()'.
Diffstat (limited to 'Lib/distutils/util.py')
-rw-r--r-- | Lib/distutils/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py index 953c2e2..58d5843 100644 --- 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, |