diff: handle empty output status (#4826)

This commit is contained in:
Peter Rowlands (변기호)
2020-11-02 21:16:29 +09:00
committed by GitHub
parent 59d5c73c5e
commit 96cdd073bd
+1 -1
View File
@@ -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