From 2f42db0eaa844d9353f34d87d2009d2b1534c3c2 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Sun, 11 Aug 2019 00:01:40 +0100 Subject: [PATCH] fix base progress_callback --- dvc/remote/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dvc/remote/base.py b/dvc/remote/base.py index 5b527806e..c2b6b0d50 100644 --- a/dvc/remote/base.py +++ b/dvc/remote/base.py @@ -685,7 +685,7 @@ class RemoteBASE(object): self.state.save_link(path_info) self.state.save(path_info, checksum) if progress_callback: - progress_callback.update(str(path_info)) + progress_callback(str(path_info)) def makedirs(self, path_info): raise NotImplementedError @@ -715,7 +715,7 @@ class RemoteBASE(object): self.link(entry_cache_info, entry_info) self.state.save(entry_info, entry_checksum) if progress_callback: - progress_callback.update(str(entry_info)) + progress_callback(str(entry_info)) self._remove_redundant_files(path_info, dir_info, force)