From: Sergey Gotliv Date: Tue, 6 May 2014 21:27:46 +0000 (+0300) Subject: Fix wrong exception reference X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=8dcbc1729aa240cf31a9622ffea8cb27af9711a5;p=openstack-build%2Fcinder-build.git Fix wrong exception reference iscsi.py should catch cinder.exception.NotFound instead of cinder.brick.exception.NotFound. Change-Id: I77134683712e9706619a7f7fe82caed42ede5887 Closes-Bug: #1300136 (cherry picked from commit 115b8447618073d3383bbd612ebd2fc68c8c5d28) --- diff --git a/cinder/volume/iscsi.py b/cinder/volume/iscsi.py index 807b1c1ac..4e29b6fd1 100644 --- a/cinder/volume/iscsi.py +++ b/cinder/volume/iscsi.py @@ -18,8 +18,8 @@ import re from oslo.config import cfg -from cinder.brick import exception from cinder.brick.iscsi import iscsi +from cinder import exception from cinder.openstack.common.gettextutils import _ from cinder.openstack.common import log as logging from cinder.openstack.common import processutils as putils