diff options
| author | Josh Kearney <josh@jk0.org> | 2011-08-11 17:10:25 -0500 |
|---|---|---|
| committer | Josh Kearney <josh@jk0.org> | 2011-08-11 17:10:25 -0500 |
| commit | b29bc97d5a69abe71dea5b9ff9dcfc65fcd59cc9 (patch) | |
| tree | 8f2255023974f23c79edaa272405dbe9cedb1035 /nova/exception.py | |
| parent | fe0bde67193ce76376e72a7263b89240a63722a8 (diff) | |
| download | nova-b29bc97d5a69abe71dea5b9ff9dcfc65fcd59cc9.tar.gz nova-b29bc97d5a69abe71dea5b9ff9dcfc65fcd59cc9.tar.xz nova-b29bc97d5a69abe71dea5b9ff9dcfc65fcd59cc9.zip | |
Check compressed image size and PEP8 cleanup.
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 0d60cb0bf..77ebf3c88 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -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") |
