]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Remove unused exception
authorKIYOHIRO ADACHI <adachi@mxs.nes.nec.co.jp>
Thu, 13 Feb 2014 05:10:21 +0000 (14:10 +0900)
committerKIYOHIRO ADACHI <adachi@mxs.nes.nec.co.jp>
Thu, 13 Feb 2014 05:10:21 +0000 (14:10 +0900)
 o class WillNotSchedule(CinderException):

   This exception was removed in the following commit.

    commit cea7fe21cecfcd28ede3ba411b8ab8b36c9a7c15
    Author: Zhiteng Huang <zhithuang@ebaysf.com>
    Date:   Thu Jan 2 15:44:30 2014 +0800

        Drop Chance/SimpleScheduler Implementation

Change-Id: I8f5f8e6c5c844a67607dae9fb63524aef7069133

cinder/exception.py

index 6e7c4f10afd4db6cccb4c91bf3f0fad0a14bcc13..eca71577d4e48b41a7670a601bf3962ba9a410dd 100644 (file)
@@ -394,10 +394,6 @@ class NoMoreTargets(CinderException):
     pass
 
 
-class WillNotSchedule(CinderException):
-    message = _("Host %(host)s is not up or doesn't exist.")
-
-
 class QuotaError(CinderException):
     message = _("Quota exceeded: code=%(code)s")
     code = 413