fix double deletion problem of source files when import_delete is set

This commit is contained in:
mdecker 2011-04-03 18:43:41 +02:00
parent 379b998a02
commit cd18d7aca4

View file

@ -532,7 +532,6 @@ def apply_choices(lib, copy, write, art, delete, progress):
# Only delete files that were actually moved.
if old_path not in new_paths:
os.remove(library._syspath(old_path))
os.remove(library._syspath(old_path))
# Update progress.
if progress: