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:
Jan Kaluza
2019-04-30 07:41:35 +02:00
parent 1b486b1625
commit c5d000e900
2 changed files with 17 additions and 4 deletions

View File

@@ -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