Skip to content

Commit

Permalink
xmlrpc3: remove missing arguments
Browse files Browse the repository at this point in the history
ex is not defined in this context, remove it and just log an error
that the cleanup failed.
  • Loading branch information
ianw authored and StykMartin committed Nov 7, 2024
1 parent d1e28c0 commit 11cf7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common/bkr/common/xmlrpc3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 11cf7b7

Please sign in to comment.