mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
summon: use find_out_by_relpath
This commit is contained in:
+1
-1
@@ -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", ())
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user