collect: skip if cache dir doesn't exist

Related to #872

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-07-10 19:22:18 +03:00
parent 6996d0a9e6
commit 2aa9288f55
+1
View File
@@ -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