Check compressed image size and PEP8 cleanup.

This commit is contained in:
Josh Kearney
2011-08-11 17:10:25 -05:00
parent b2702c3876
commit 4a85c74f71

View File

@@ -717,3 +717,7 @@ class CannotResizeToSameSize(NovaException):
class CannotResizeToSmallerSize(NovaException):
message = _("Resizing to a smaller size is not supported.")
class ImageTooLarge(NovaException):
message = _("Image is larger than instance type allows")