From 831b129899a2af1fb90f0c4886fe1cd5f9c59e73 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 15 Jul 2021 12:39:38 -0400 Subject: [PATCH] Correct syntax error in confluent client --- confluent_client/confluent/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/confluent/client.py b/confluent_client/confluent/client.py index acd79ce4..fae497ee 100644 --- a/confluent_client/confluent/client.py +++ b/confluent_client/confluent/client.py @@ -633,7 +633,7 @@ def printgroupattributes(session, requestargs, showtype, nodetype, noderange, op attrout = '{0}: {1}: ********'.format(noderange, attr) else: attrout = '{0}: {1}:'.format(noderange, attr) - elif isinstance(currattr, dict) 'broken' in currattr: + elif isinstance(currattr, dict) and 'broken' in currattr: attrout = '{0}: {1}: *ERROR* BROKEN EXPRESSION: ' \ '{2}'.format(noderange, attr, currattr['broken'])