From 78667fde6a9b1efce06255401b1175f623f80c09 Mon Sep 17 00:00:00 2001 From: Javeme Date: Fri, 18 Dec 2015 19:46:59 +0800 Subject: [PATCH] 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 --- glanceclient/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glanceclient/shell.py b/glanceclient/shell.py index b0028ca..cef5827 100755 --- a/glanceclient/shell.py +++ b/glanceclient/shell.py @@ -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")