We must leave unwanted files in dst_list
Michal Ludvig authored on 2013/02/18 21:55:13... | ... |
@@ -504,7 +504,7 @@ def compare_filelists(src_list, dst_list, src_remote, dst_remote, delay_updates |
504 | 504 |
dst_list.record_md5(relative_file, md5) |
505 | 505 |
|
506 | 506 |
for f in dst_list.keys(): |
507 |
- if not src_list.has_key(f) and not update_list.has_key(f): |
|
507 |
+ if src_list.has_key(f) or update_list.has_key(f): |
|
508 | 508 |
# leave only those not on src_list + update_list |
509 | 509 |
del dst_list[f] |
510 | 510 |
|