From 779979789c12d66686fd1fe163bf963c00502136 Mon Sep 17 00:00:00 2001 From: "Walter A. Boring IV" Date: Mon, 6 May 2019 19:08:18 +0000 Subject: [PATCH] Remove unused exception This patch removes an unused exception InvalidAttachment Change-Id: I56fa1811dbfc0423db569c233118e99bbb76d553 --- cinder/exception.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cinder/exception.py b/cinder/exception.py index f74156b9183..0232e26c2e3 100644 --- a/cinder/exception.py +++ b/cinder/exception.py @@ -1341,10 +1341,6 @@ class AttachmentSpecsNotFound(NotFound): "key %(specs_key)s.") -class InvalidAttachment(Invalid): - message = _("Invalid attachment: %(reason)s") - - # Veritas driver class UnableToExecuteHyperScaleCmd(VolumeDriverException): message = _("Failed HyperScale command for '%(command)s'")