mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
diff: handle empty output status (#4826)
This commit is contained in:
+1
-1
@@ -122,5 +122,5 @@ def _filter_missing(repo, paths):
|
||||
metadata = repo_tree.metadata(path)
|
||||
if metadata.is_dvc:
|
||||
out = metadata.outs[0]
|
||||
if out.status()[str(out)] == "not in cache":
|
||||
if out.status().get(str(out)) == "not in cache":
|
||||
yield path
|
||||
|
||||
Reference in New Issue
Block a user