Fixes typo: glance exception additional dot

when I try to fix the glanceclient html output, i found the result has
additional dot before the word quota,as follow
Denying attempt to upload image because it exceeds the .quota: The size
of the data 41126400 will exceed the limit. 11210240 bytes remaining

Change-Id: I5df61d9d17cf24ce9b58bebbefb610b7043fc39c
Closes-bug: #1404820
This commit is contained in:
nanhai liao 2014-12-22 16:30:41 +08:00
parent cc3435647d
commit b742f80cee

View File

@ -148,7 +148,7 @@ class ImagesController(object):
raise webob.exc.HTTPBadRequest(explanation=e.msg)
except exception.StorageQuotaFull as e:
msg = (_("Denying attempt to upload image because it exceeds the"
" .quota: %s") % utils.exception_to_str(e))
" quota: %s") % utils.exception_to_str(e))
LOG.warn(msg)
raise webob.exc.HTTPRequestEntityTooLarge(
explanation=msg, request=req, content_type='text/plain')