replace the deprecated keystoneclient...apiclient

Use keystoneclient.exceptions instead of the deprecated
keystoneclient.openstack.common.apiclient.exceptions.

ref:
https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/
openstack/common/apiclient/exceptions.py#L25

Change-Id: I5ca3fa5d45b5555880b737622a5e4605302041bc
This commit is contained in:
Javeme
2015-12-18 19:46:59 +08:00
parent b9a4621b2d
commit 78667fde6a
+1 -1
View File
@@ -41,7 +41,7 @@ from glanceclient import exc
from keystoneclient.auth.identity import v2 as v2_auth
from keystoneclient.auth.identity import v3 as v3_auth
from keystoneclient import discover
from keystoneclient.openstack.common.apiclient import exceptions as ks_exc
from keystoneclient import exceptions as ks_exc
from keystoneclient import session
osprofiler_profiler = importutils.try_import("osprofiler.profiler")