summaryrefslogtreecommitdiff
path: root/glanceclient/v2
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-01-02 22:51:25 +0000
committerGerrit Code Review <review@openstack.org>2018-01-02 22:51:25 +0000
commitcf62e1635d6ca6b025829e8bbf6294cb8a1fd982 (patch)
treeae33bb4946796546a37f5e75016f1579c865585d /glanceclient/v2
parent11ac1e2eb32c4965fa4fe8d7023f006432c3917b (diff)
parent4dcbc30e317a25495bebc073bb9913d9fd9d43a2 (diff)
downloadpython-glanceclient-2.9.0.tar.gz
Merge "Compare against 'RequestIdProxy.wrapped'"2.9.0
Diffstat (limited to 'glanceclient/v2')
-rw-r--r--glanceclient/v2/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glanceclient/v2/shell.py b/glanceclient/v2/shell.py
index 131e826..c9f1fe1 100644
--- a/glanceclient/v2/shell.py
+++ b/glanceclient/v2/shell.py
@@ -353,7 +353,7 @@ def do_image_download(gc, args):
msg = "Unable to download image '%s'. (%s)" % (args.id, e)
utils.exit(msg)
- if body is None:
+ if body.wrapped is None:
msg = ('Image %s has no data.' % args.id)
utils.exit(msg)