Fix import of common libraries from Manila client
Manila removed the copy of oslo inclubated code (following a global goal for Ocata) and this lead to some changes post-Newton. See: https://review.openstack.org/#/c/377604/ Change-Id: Ibda32791aa9b64966cd18daf001416e57a2c5e93
This commit is contained in:
parent
a18c8a897a
commit
04d73360f7
@ -14,6 +14,9 @@
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
try:
|
||||
from manilaclient.common.apiclient import exceptions as manila_ex
|
||||
except ImportError:
|
||||
from manilaclient.openstack.common.apiclient import exceptions as manila_ex
|
||||
import mock
|
||||
from oslo_utils import uuidutils
|
||||
|
@ -13,6 +13,9 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
try:
|
||||
from manilaclient.common.apiclient import exceptions as manila_ex
|
||||
except ImportError:
|
||||
from manilaclient.openstack.common.apiclient import exceptions as manila_ex
|
||||
import mock
|
||||
|
||||
|
@ -14,6 +14,9 @@
|
||||
# limitations under the License.
|
||||
|
||||
import manilaclient.client as manila_client
|
||||
try:
|
||||
from manilaclient.common.apiclient import exceptions as manila_ex
|
||||
except ImportError:
|
||||
from manilaclient.openstack.common.apiclient import exceptions as manila_ex
|
||||
from oslo_config import cfg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user