summaryrefslogtreecommitdiff
path: root/glanceclient/shell.py
diff options
context:
space:
mode:
authorErno Kuvaja <jokke@usr.fi>2015-08-26 10:57:30 +0000
committerErno Kuvaja <jokke@usr.fi>2015-09-09 13:34:05 +0000
commitf6712f5d333ed3c525450ae91a606fa444e5bae4 (patch)
tree7255930a297f82d97c137819baa92e5e58ac1225 /glanceclient/shell.py
parent5026774bd1b8cdd079256a21cbbb74ba687267a9 (diff)
downloadpython-glanceclient-f6712f5d333ed3c525450ae91a606fa444e5bae4.tar.gz
Print the reverting back to v1 to stderr
Printing to stderr to fix the download issue. Change-Id: I2916bb100ac451378db82291855078f2b37466bd Closes-Bug: #1488914
Diffstat (limited to 'glanceclient/shell.py')
-rwxr-xr-xglanceclient/shell.py2
1 files changed, 1 insertions, 1 deletions
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)