From fea3d1400aa33abba177a906bd0d4bbdefd362ec Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Wed, 18 Dec 2019 22:15:54 -0600 Subject: [PATCH] summon: return empty generator for object.deps --- dvc/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/api.py b/dvc/api.py index 3628e9fdf..f12f55dc4 100644 --- a/dvc/api.py +++ b/dvc/api.py @@ -90,7 +90,7 @@ def summon(name, params=None, repo=None, rev=None): outs = [ _repo.find_outs_by_path(os.path.join(_repo.root_dir, dep))[0] - for dep in artifact.get("deps") + for dep in artifact.get("deps", ()) ] with _repo.state: