From 2aa9288f55db42ba8bff9ff4b9809f8d718eaced Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Tue, 10 Jul 2018 19:22:18 +0300 Subject: [PATCH] collect: skip if cache dir doesn't exist Related to #872 Signed-off-by: Ruslan Kuprieiev --- dvc/remote/local.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dvc/remote/local.py b/dvc/remote/local.py index 07bf7fb10..3b92ff42a 100644 --- a/dvc/remote/local.py +++ b/dvc/remote/local.py @@ -321,6 +321,7 @@ class RemoteLOCAL(RemoteBase): continue if not os.path.exists(cache): missing.append(info) + continue collected.extend(self.load_dir_cache(md5)) collected.extend(checksum_infos) return collected, missing