From b452c5ab31118a368e50e71c1a04f0c92b3a57cc Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 7 Nov 2024 14:17:26 +1100 Subject: [PATCH] xmlrpc3: remove missing arguments ex is not defined in this context, remove it and just log an error that the cleanup failed. --- Common/bkr/common/xmlrpc3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/bkr/common/xmlrpc3.py b/Common/bkr/common/xmlrpc3.py index 542f4e344..a02077e31 100644 --- a/Common/bkr/common/xmlrpc3.py +++ b/Common/bkr/common/xmlrpc3.py @@ -356,7 +356,7 @@ def _kerberos_verify_response(vc, host, handler, headers): rc = kerberos.authGSSClientClean(vc) if rc != 1: errcode = 401 - errmsg = "KERBEROS: Could not clean-up GSSAPI: %s/%s" % (ex[0][0], ex[1][0]) + errmsg = "KERBEROS: Could not clean-up GSSAPI" raise xmlrpclib.ProtocolError(host + handler, errcode, errmsg, headers) def single_request(self, host, handler, request_body, verbose=0):