mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-11 23:10:10 +01:00
remote: base: check progress_callback when skipping on checkout
This commit is contained in:
+4
-1
@@ -771,7 +771,10 @@ class RemoteBASE(object):
|
||||
skip = True
|
||||
|
||||
if skip:
|
||||
progress_callback(str(path_info), self.get_files_number(checksum))
|
||||
if progress_callback:
|
||||
progress_callback(
|
||||
str(path_info), self.get_files_number(checksum)
|
||||
)
|
||||
return
|
||||
|
||||
msg = "Checking out '{}' with cache '{}'."
|
||||
|
||||
Reference in New Issue
Block a user