From 8b4f07767bf3305bbb174e23e323b1b3fc78f306 Mon Sep 17 00:00:00 2001 From: Darja Shakhray Date: Wed, 14 Oct 2015 16:17:35 +0300 Subject: [PATCH] Fix typo in 'help' in python-glanceclient Fix typo `glance --os-image-api-version 1 helpNone` in help in python-glanceclient. Change-Id: I21bd7a7a5809e7c5fca4c8df1275321a9014bc6f Closes-bug: #1506049 --- glanceclient/shell.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/glanceclient/shell.py b/glanceclient/shell.py index 06b2c46..638cf07 100755 --- a/glanceclient/shell.py +++ b/glanceclient/shell.py @@ -728,9 +728,8 @@ class OpenStackImagesShell(object): parser.print_help() if not args.os_image_api_version or args.os_image_api_version == '2': - print() - print(("Run `glance --os-image-api-version 1 help%s` " - "for v1 help") % command) + print(("\nRun `glance --os-image-api-version 1 help%s`" + " for v1 help") % (command or '')) def do_bash_completion(self, _args): """Prints arguments for bash_completion.