From 546296ce719138f33a3d11d6748e460a7a714e94 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 8 Jan 2020 10:17:06 -0500 Subject: [PATCH] Have the get_webclient always return two elements Some scenario existed where the function could return None and this could break code expectations that it always returned a tuple and the first value needs to be checked for None. --- confluent_server/confluent/discovery/handlers/xcc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_server/confluent/discovery/handlers/xcc.py b/confluent_server/confluent/discovery/handlers/xcc.py index 09f8f8f0..d09b84bf 100644 --- a/confluent_server/confluent/discovery/handlers/xcc.py +++ b/confluent_server/confluent/discovery/handlers/xcc.py @@ -175,6 +175,7 @@ class NodeHandler(immhandler.NodeHandler): # password changes after provisional changes self.set_password_policy('') return (wc, pwdchanged) + return (None, None) @property def wc(self):