lib: set sinfo=None for failed ssl_login

Fixes: https://pagure.io/koji/issue/2793
This commit is contained in:
Tomas Kopecek 2021-03-30 13:31:35 +02:00
parent eb644e7e4c
commit a7c769fd41

View file

@ -2548,6 +2548,7 @@ class ClientSession(object):
e_str = ''.join(traceback.format_exception_only(type(ex), ex))
e_str = 'ssl auth failed: %s' % e_str
self.logger.debug(e_str)
sinfo = None
finally:
self.opts = old_opts
if not sinfo: