We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebc1e3e commit a0a1739Copy full SHA for a0a1739
src/dvc_objects/fs/generic.py
@@ -293,7 +293,7 @@ def transfer(
293
# copy, the remaining copy operations will be batched.
294
for i, (from_p, to_p) in enumerate(zip(from_path, to_path)):
295
if links[0] == "copy":
296
- return copy(
+ copy(
297
from_fs,
298
from_path[i:],
299
to_fs,
@@ -302,6 +302,7 @@ def transfer(
302
batch_size=batch_size,
303
on_error=on_error,
304
)
305
+ continue
306
try:
307
_try_links(
308
links,
@@ -325,7 +326,7 @@ def transfer(
325
326
and isinstance(exc.__context__, FileExistsError)
327
):
328
logger.debug("'%s' file already exists, skipping", to_path)
- return None
329
330
331
if on_error is not None:
332
on_error(from_p, to_p, exc)
0 commit comments