remote: local: don't return if one target failed to download

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-07-01 21:02:43 +03:00
parent 449d4880d1
commit 594b23bd94
+1 -1
View File
@@ -304,7 +304,7 @@ class RemoteLOCAL(RemoteBase):
copyfile(path_info['path'], tmp_file, no_progress_bar=no_progress_bar, name=name)
except Exception as exc:
Logger.error("Failed to download '{}' to '{}'".format(path_info['path'], path), exc)
return
continue
os.rename(tmp_file, path)