Should fix #47.
This commit is contained in:
@@ -110,7 +110,10 @@ def get_image(uid, context):
|
|||||||
"""
|
"""
|
||||||
Return details on an image.
|
Return details on an image.
|
||||||
"""
|
"""
|
||||||
|
try:
|
||||||
return IMAGE_API.show(context, uid)
|
return IMAGE_API.show(context, uid)
|
||||||
|
except exception.ImageNotFound as err:
|
||||||
|
raise AttributeError(str(err))
|
||||||
|
|
||||||
|
|
||||||
def get_image_architecture(uid, context):
|
def get_image_architecture(uid, context):
|
||||||
|
Reference in New Issue
Block a user