]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Remove InvalidPortRange exception
authorEric Harney <eharney@redhat.com>
Tue, 2 Apr 2013 20:06:56 +0000 (16:06 -0400)
committerEric Harney <eharney@redhat.com>
Tue, 2 Apr 2013 20:06:56 +0000 (16:06 -0400)
The InvalidPortRange exception seems to be left over from the
initial split from Nova.

Change-Id: Ife03ac70f6ba80273c1c21e8d2c509b480a6fe80

cinder/exception.py

index bec31fb1b3efc8e59207b1cdcf5d0b769769ae1b..4c840ecb7da57481b3b6fc6141ef1f5592900fd1 100644 (file)
@@ -192,10 +192,6 @@ class InvalidVolume(Invalid):
     message = _("Invalid volume") + ": %(reason)s"
 
 
-class InvalidPortRange(Invalid):
-    message = _("Invalid port range %(from_port)s:%(to_port)s. %(msg)s")
-
-
 class InvalidContentType(Invalid):
     message = _("Invalid content type %(content_type)s.")