From 6ab2790e85015edf28721000633a6b8970ccf946 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Sun, 16 Dec 2012 22:46:33 -0500 Subject: Remove the WillNotSchedule exception. Removes the WillNotSchedule from the Nova exception module. It is no longer being used. Change-Id: I865402ec30f9fa1de31c443db51e7f53004d6817 --- nova/exception.py | 4 ---- 1 file changed, 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 -- cgit