Fix the exceptions import

Change-Id: I804daa0e2b3c8f7a9d421449afcf1e057b8c63c8
zhurong 2022-01-17 08:17:04 +00:00
parent 31d424471c
commit 4ee6474502
1 changed files with 1 additions and 5 deletions

View File

@ -20,11 +20,7 @@ from murano.common import auth_utils
from murano.dsl import session_local_storage
from oslo_config import cfg as config
from magnumclient.common.apiclient import exceptions
except ImportError:
# NOTE (hongbin): For magnumclient versions before 2.0.0.
from magnumclient.openstack.common.apiclient import exceptions
from magnumclient import exceptions
CONF = config.CONF