mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-05 19:57:37 +08:00
don't use vars() on munch.Munch() dict
Using vars() this way breaks passing the koji configuration options to koji.ClientSession(), it passes an empty dict instead. Any options in koji.conf which are needed for authenticating are ineffectual (e.g. `krbservice`).
This commit is contained in:
@@ -376,7 +376,7 @@ chmod 644 %buildroot/%_rpmconfigdir/macros.d/macros.modules
|
||||
|
||||
address = koji_config.server
|
||||
log.info("Connecting to koji %r" % address)
|
||||
koji_session = koji.ClientSession(address, opts=vars(koji_config))
|
||||
koji_session = koji.ClientSession(address, opts=koji_config)
|
||||
|
||||
authtype = koji_config.authtype
|
||||
if authtype == "kerberos":
|
||||
|
||||
Reference in New Issue
Block a user