Merge "Use imported exception for update_store_acls"
This commit is contained in:
commit
48cf1256a2
@ -81,6 +81,6 @@ class BaseController(object):
|
|||||||
write_tenants=write_tenants)
|
write_tenants=write_tenants)
|
||||||
except exception.UnknownScheme:
|
except exception.UnknownScheme:
|
||||||
msg = _("Store for image_id not found: %s") % image_id
|
msg = _("Store for image_id not found: %s") % image_id
|
||||||
raise HTTPBadRequest(explanation=msg,
|
raise webob.exc.HTTPBadRequest(explanation=msg,
|
||||||
request=req,
|
request=req,
|
||||||
content_type='text/plain')
|
content_type='text/plain')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user