Fixed broken list extend in 'copy_tree()'.

This commit is contained in:
Greg Ward 2000-01-30 19:57:48 +00:00
parent 37bc815053
commit a002edc85b
1 changed files with 2 additions and 2 deletions

View File

@ -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,