diff options
author | Jamie Lennox <jamielennox@gmail.com> | 2016-08-24 18:33:54 +1000 |
---|---|---|
committer | Jamie Lennox <jamielennox@gmail.com> | 2016-08-24 18:52:36 +1000 |
commit | 5b91fedd650613f7ba480039fca7df83c1ff6bed (patch) | |
tree | 08459126ec74a7759b608f22a972d17d2c6089d2 /keystoneclient/v2_0/tokens.py | |
parent | f557170404ec2b7f5c562e55ad212b6e444655c8 (diff) | |
download | python-keystoneclient-5b91fedd650613f7ba480039fca7df83c1ff6bed.tar.gz |
Use exceptions from Keystoneauth
As keystoneclient and other services rely more on keystoneauth we should
assume that keystoneauth is our base auth library, not keystoneclient
and start to default to the objects provided from there. This will make
it easier to remove these objects when the time comes.
For the session independant parts of keystoneclient we should use the
exception names as provided by keystoneauth instead of the aliases in
keystoneclient.
Change-Id: Ic513046f8398a76c244e145d6cc3117cdf6bb4cd
Diffstat (limited to 'keystoneclient/v2_0/tokens.py')
-rw-r--r-- | keystoneclient/v2_0/tokens.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/v2_0/tokens.py b/keystoneclient/v2_0/tokens.py index b5f9657..8e64796 100644 --- a/keystoneclient/v2_0/tokens.py +++ b/keystoneclient/v2_0/tokens.py @@ -10,12 +10,12 @@ # License for the specific language governing permissions and limitations # under the License. +from keystoneauth1 import exceptions from keystoneauth1 import plugin from positional import positional from keystoneclient import access from keystoneclient import base -from keystoneclient import exceptions from keystoneclient.i18n import _ |