Skip to content

Commit d3a196c

Browse files
committed
Update output.py
1 parent 4ef4bcc commit d3a196c

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.manager/src/proman/output.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,15 +305,14 @@ def get_noarch_os():
305305
readme_render_command = self._branch_manager.data[
306306
"devcontainer_main.environment.pybuild.task.render-readme.alias"
307307
]
308-
for key, value in self._branch_manager.data.items():
309-
if not key.startswith("pypkg_"):
310-
continue
308+
for pkg_id in ("main", "test"):
311309
if (
312310
not (publish_pypi or publish_testpypi or publish_anaconda)
313311
and build_config["action"] == "disabled"
314312
):
315313
continue
316-
pkg_id = key.removeprefix("pypkg_")
314+
key = f"pypkg_{pkg_id}"
315+
value = self._branch_manager.data[key]
317316
pure_python = value["python"]["pure"]
318317
build_job = {
319318
"repository": self._repository,

0 commit comments

Comments
 (0)