Fix wrong exception reference

iscsi.py should catch cinder.exception.NotFound instead of
cinder.brick.exception.NotFound.

Change-Id: I77134683712e9706619a7f7fe82caed42ede5887
Closes-Bug: #1300136
This commit is contained in:
Sergey Gotliv 2014-05-07 00:27:46 +03:00
parent e524456814
commit 115b844761

View File

@ -18,8 +18,8 @@ import re
from oslo.config import cfg from oslo.config import cfg
from cinder.brick import exception
from cinder.brick.iscsi import iscsi from cinder.brick.iscsi import iscsi
from cinder import exception
from cinder.openstack.common.gettextutils import _ from cinder.openstack.common.gettextutils import _
from cinder.openstack.common import log as logging from cinder.openstack.common import log as logging
from cinder.openstack.common import processutils as putils from cinder.openstack.common import processutils as putils