Skip to content

Commit

Permalink
diff: handle empty output status (iterative#4826)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrowla authored Nov 2, 2020
1 parent 59d5c73 commit 96cdd07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dvc/repo/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 96cdd07

Please sign in to comment.