From c5d4a8524fb0625a170b29aa97df9f3129d83cf1 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 2 Mar 2023 17:37:23 +0200 Subject: [PATCH] generic: return when done copying MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regression from https://github.com/iterative/dvc-objects/pull/199 🤦 --- src/dvc_objects/fs/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dvc_objects/fs/generic.py b/src/dvc_objects/fs/generic.py index d500fd8..9f0d75b 100644 --- a/src/dvc_objects/fs/generic.py +++ b/src/dvc_objects/fs/generic.py @@ -302,7 +302,7 @@ def transfer( batch_size=batch_size, on_error=on_error, ) - continue + return try: _try_links( links,