fix #7244 recursive copy fails when setting directory attributes
- reverse the order of new_directory_list returned from split_pre_existing_dir in copy module
This commit is contained in:
parent
d64c0ae4f1
commit
5bb888af4b
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ def split_pre_existing_dir(dirname):
|
|||
(pre_existing_dir, new_directory_list) = split_pre_existing_dir(head)
|
||||
else:
|
||||
return (head, [ tail ])
|
||||
new_directory_list.insert(0, tail)
|
||||
new_directory_list.append(tail)
|
||||
return (pre_existing_dir, new_directory_list)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue