Merge pull request #2469 from pared/2465

remote: base: check progress_callback when skipping on checkout
This commit is contained in:
Ruslan Kuprieiev
2019-09-06 00:47:45 +03:00
committed by GitHub
+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 '{}'."