remote: base: check progress_callback when skipping on checkout

This commit is contained in:
pawel
2019-09-05 17:32:27 +02:00
parent 48d7ab6e22
commit 5ec3cade68
+4 -1
View File
@@ -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 '{}'."