From cd5366e73f7dbf3621789766fc0ccdf5f3956384 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 31 May 2019 14:47:07 -0400 Subject: [PATCH] Fix nodeconfig for non-ascii choices --- 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 a9a63d7b..1d4f51e5 100644 --- a/confluent_client/confluent/client.py +++ b/confluent_client/confluent/client.py @@ -481,7 +481,7 @@ def print_attrib_path(path, session, requestargs, options, rename=None): attrout += ' (Help: {0})'.format( currattr['help'].encode('utf-8')) if currattr.get('possible', None): - attrout += ' (Choices: {0})'.format( + attrout += u' (Choices: {0})'.format( ','.join(currattr['possible'])) cprint(attrout) if not exitcode: