From 0a132463b74f93077c04daa41f5436e51d3d293b Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger Date: Jul 13 2022 09:56:11 +0000 Subject: Fix incorrect format string in client code This fixes a format string that does not work as-is under python3. This makes the --help-commands flag work again Signed-off-by: Ralf Ertzinger --- diff --git a/src/client.py b/src/client.py index ed26726..221c532 100644 --- a/src/client.py +++ b/src/client.py @@ -1721,7 +1721,7 @@ def handle_global_options(): if options.help_commands: # FIXME: order of the commands for (name, (_, help_string)) in six.iteritems(command_handlers): - print('{0:<20!s}{1!s}'.format(name, help_string)) + print('{0!s:<20}{1!s}'.format(name, help_string)) sys.exit() if len(args) < 1: parser.error('missing command, see --help-commands')