From: Eric Harney Date: Tue, 2 Apr 2013 20:06:56 +0000 (-0400) Subject: Remove InvalidPortRange exception X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=8defcf2de7a2dc9a8ef3e0f3e4b551ffa407eded;p=openstack-build%2Fcinder-build.git Remove InvalidPortRange exception The InvalidPortRange exception seems to be left over from the initial split from Nova. Change-Id: Ife03ac70f6ba80273c1c21e8d2c509b480a6fe80 --- diff --git a/cinder/exception.py b/cinder/exception.py index bec31fb1b..4c840ecb7 100644 --- a/cinder/exception.py +++ b/cinder/exception.py @@ -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.")