mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
rpc: don't decode cookie_string if it's None
This removes an ugly debug message from client installation Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
This commit is contained in:
parent
dc47a4b85f
commit
5acd484090
@ -901,6 +901,8 @@ class RPCClient(Connectible):
|
|||||||
# (possibly with more than one cookie).
|
# (possibly with more than one cookie).
|
||||||
try:
|
try:
|
||||||
cookie_string = read_persistent_client_session_data(principal)
|
cookie_string = read_persistent_client_session_data(principal)
|
||||||
|
if cookie_string is None:
|
||||||
|
return
|
||||||
cookie_string = cookie_string.decode('utf-8')
|
cookie_string = cookie_string.decode('utf-8')
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.debug('Error reading client session data: %s', e)
|
logger.debug('Error reading client session data: %s', e)
|
||||||
|
Loading…
Reference in New Issue
Block a user