mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-07-26 16:21:20 +08:00
Do not overwrite stream kwarg in build_module_locally.
When `default_streams` is set, the current code overwrites `stream` kwarg in the `for` loop handling the `default_streams`. In this commit, the `stream` kwarg is not overwritten.
This commit is contained in:
@@ -163,8 +163,8 @@ def build_module_locally(
|
||||
params["local_build"] = True
|
||||
params["default_streams"] = {}
|
||||
for ns in default_streams:
|
||||
name, stream = ns.split(":")
|
||||
params["default_streams"][name] = stream
|
||||
n, s = ns.split(":")
|
||||
params["default_streams"][n] = s
|
||||
if srpms:
|
||||
params["srpms"] = srpms
|
||||
|
||||
|
||||
Reference in New Issue
Block a user