summon: use find_out_by_relpath

This commit is contained in:
Mr. Outis
2019-12-18 22:18:37 -06:00
parent fea3d1400a
commit 4ce1113ccf
+1 -1
View File
@@ -89,7 +89,7 @@ def summon(name, params=None, repo=None, rev=None):
artifact = next(x for x in artifacts if x.get("name") == name)
outs = [
_repo.find_outs_by_path(os.path.join(_repo.root_dir, dep))[0]
_repo.find_out_by_relpath(dep)
for dep in artifact.get("deps", ())
]