diff options
author | Dan Prince <dprince@redhat.com> | 2012-12-16 22:46:33 -0500 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2012-12-16 22:46:33 -0500 |
commit | 6ab2790e85015edf28721000633a6b8970ccf946 (patch) | |
tree | 5391e71a6d02e2a417b0cd31c7ff319b2626c7d5 /nova/exception.py | |
parent | f04722ee22feed97aca23cd16864626d9672671c (diff) | |
download | nova-6ab2790e85015edf28721000633a6b8970ccf946.tar.gz nova-6ab2790e85015edf28721000633a6b8970ccf946.tar.xz nova-6ab2790e85015edf28721000633a6b8970ccf946.zip |
Remove the WillNotSchedule exception.
Removes the WillNotSchedule from the Nova exception module. It
is no longer being used.
Change-Id: I865402ec30f9fa1de31c443db51e7f53004d6817
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/nova/exception.py b/nova/exception.py index 0d08491cd..d9f211086 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -901,10 +901,6 @@ class NoValidHost(NovaException): message = _("No valid host was found. %(reason)s") -class WillNotSchedule(NovaException): - message = _("Host %(host)s is not up or doesn't exist.") - - class QuotaError(NovaException): message = _("Quota exceeded") + ": code=%(code)s" code = 413 |