Merge "Use imported exception for update_store_acls"

This commit is contained in:
Jenkins 2013-01-03 14:45:52 +00:00 committed by Gerrit Code Review
commit 48cf1256a2

View File

@ -81,6 +81,6 @@ class BaseController(object):
write_tenants=write_tenants)
except exception.UnknownScheme:
msg = _("Store for image_id not found: %s") % image_id
raise HTTPBadRequest(explanation=msg,
request=req,
content_type='text/plain')
raise webob.exc.HTTPBadRequest(explanation=msg,
request=req,
content_type='text/plain')