From f0e062c5a32469d0f1bcd47bce5d72271e87c3cf Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Mon, 5 Sep 2016 18:29:35 +0200 Subject: [PATCH] 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`). --- rida/builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rida/builder.py b/rida/builder.py index 36746222..0cad7b86 100644 --- a/rida/builder.py +++ b/rida/builder.py @@ -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":