diff --git a/confluent_client/confluent/client.py b/confluent_client/confluent/client.py index dfeb6075..a8ef4b86 100644 --- a/confluent_client/confluent/client.py +++ b/confluent_client/confluent/client.py @@ -465,7 +465,7 @@ def print_attrib_path(path, session, requestargs, options, rename=None, attrpref if isinstance(val, list): val = ','.join(val) attrout = '{0}: {1}: {2}'.format( - node, printattr, val) + node, printattr, val).strip() else: attrout = '{0}: {1}:'.format(node, printattr) elif 'isset' in currattr: @@ -473,7 +473,7 @@ def print_attrib_path(path, session, requestargs, options, rename=None, attrpref attrout = '{0}: {1}: ********'.format(node, printattr) else: - attrout = '{0}: {1}: '.format(node, printattr) + attrout = '{0}: {1}:'.format(node, printattr) elif 'broken' in currattr: attrout = '{0}: {1}: *ERROR* BROKEN EXPRESSION: ' \ '{2}'.format(node, printattr,