From 8defcf2de7a2dc9a8ef3e0f3e4b551ffa407eded Mon Sep 17 00:00:00 2001
From: Eric Harney <eharney@redhat.com>
Date: Tue, 2 Apr 2013 16:06:56 -0400
Subject: [PATCH] Remove InvalidPortRange exception

The InvalidPortRange exception seems to be left over from the
initial split from Nova.

Change-Id: Ife03ac70f6ba80273c1c21e8d2c509b480a6fe80
---
 cinder/exception.py | 4 ----
 1 file changed, 4 deletions(-)

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.")
 
-- 
2.45.2