From f6712f5d333ed3c525450ae91a606fa444e5bae4 Mon Sep 17 00:00:00 2001 From: Erno Kuvaja Date: Wed, 26 Aug 2015 10:57:30 +0000 Subject: [PATCH] Print the reverting back to v1 to stderr Printing to stderr to fix the download issue. Change-Id: I2916bb100ac451378db82291855078f2b37466bd Closes-Bug: #1488914 --- glanceclient/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glanceclient/shell.py b/glanceclient/shell.py index 8bd5b52..065e9d6 100755 --- a/glanceclient/shell.py +++ b/glanceclient/shell.py @@ -671,7 +671,7 @@ class OpenStackImagesShell(object): if switch_version: print('WARNING: The client is falling back to v1 because' ' the accessing to v2 failed. This behavior will' - ' be removed in future versions') + ' be removed in future versions', file=sys.stderr) api_version = 1 sub_parser = _get_subparser(api_version)