From 4cee584ae6571fba183b4512adf76b19e1ce95c4 Mon Sep 17 00:00:00 2001 From: Alvaro Lopez Garcia Date: Thu, 18 Apr 2013 15:42:14 +0200 Subject: Remove unused exception and variable from scheduler. There are no cost functions, so there is no cache and no Exception to be raised. Change-Id: I4a67bd45e3f0c91e5507ed3794dc20b13292596b --- nova/exception.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'nova/exception.py') diff --git a/nova/exception.py b/nova/exception.py index de922f50e..36f388f1f 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -869,15 +869,6 @@ class SchedulerHostFilterNotFound(NotFound): message = _("Scheduler Host Filter %(filter_name)s could not be found.") -class SchedulerCostFunctionNotFound(NotFound): - message = _("Scheduler cost function %(cost_fn_str)s could" - " not be found.") - - -class SchedulerWeightFlagNotFound(NotFound): - message = _("Scheduler weight flag not found: %(flag_name)s") - - class InstanceMetadataNotFound(NotFound): message = _("Instance %(instance_uuid)s has no metadata with " "key %(metadata_key)s.") -- cgit