diff --git a/dvc/progress.py b/dvc/progress.py index b5ccdeea0..5fe0f60b9 100644 --- a/dvc/progress.py +++ b/dvc/progress.py @@ -41,6 +41,8 @@ class Progress(tqdm): """ def __init__(self): super(Progress, self).__init__(total=0, disable=True) + from time import time + self._time = time self.set_lock(Lock()) self._targets = {} self.clearln() diff --git a/dvc/remote/http.py b/dvc/remote/http.py index 715465293..f39c5a3e3 100644 --- a/dvc/remote/http.py +++ b/dvc/remote/http.py @@ -70,7 +70,7 @@ class RemoteHTTP(RemoteBASE): for path_info in path_infos: results.append(self.exists(path_info)) - callback.update(str(path_info)) + callback(str(path_info)) return results