Skip to content

Commit a41f6de

Browse files
MatthijsBurghar13pit
authored andcommitted
Fix args generation of tue-install-target(-now)
1 parent c9812be commit a41f6de

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/tue_get/install_yaml_parser.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,10 @@ def get_distro_item(item: Mapping, key: str, release_version: str, release_type:
187187
if install_type in now_cache:
188188
now_cache[install_type].append(pkg_name)
189189
continue
190-
command = partial(getattr(installer, f"tue_install_{install_type}"), pkg_name)
190+
command = partial(
191+
getattr(installer, f"tue_install_{install_type}"),
192+
pkg_name if "target" in install_type else [pkg_name],
193+
)
191194

192195
else:
193196
raise ValueError(f"Unknown install type: '{install_type}'")

0 commit comments

Comments
 (0)