From 0c609e5b3e8e80480654df5199a9f8862af0fd87 Mon Sep 17 00:00:00 2001 From: Steve Martinelli Date: Sun, 27 Dec 2015 01:48:34 -0500 Subject: [PATCH] use keystoneclient exceptions instead of oslo-incubator code depending on any oslo-incubator code from another project is dangerous. keystoneclient makes its exceptions public and it's not recommended to use any code from keystoneclient.openstack.common.apiclient since it's maintained by oslo-incubator. Change-Id: I3541f0a20543d33b059ace5110020ec5d22e182f --- gbpclient/gbpshell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gbpclient/gbpshell.py b/gbpclient/gbpshell.py index 9193331..54aff99 100644 --- a/gbpclient/gbpshell.py +++ b/gbpclient/gbpshell.py @@ -25,7 +25,7 @@ import sys 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 from oslo_utils import encodeutils import six.moves.urllib.parse as urlparse