Created
August 26, 2014 08:18
-
-
Save kragniz/cf2637dafd05e685bbee to your computer and use it in GitHub Desktop.
glance/api/v1/images.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (image_size_store and | |
image_size_store != image_size_meta): | |
msg = (_LW("Provided image size must match the stored" | |
" image size. (provided size: %(ps)d, " | |
"stored size: %(ss)d)") % { | |
"ps": image_size_meta, | |
"ss": image_size_store}) | |
LOG.warn(msg) | |
raise HTTPConflict(explanation=msg, | |
request=req, | |
content_type="text/plain") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment