diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2016-06-08 14:17:14 -0500 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2016-06-13 10:50:01 -0500 |
| commit | d20c863ebc11cecaaefe043e615b2fb4f5f26063 (patch) | |
| tree | 7f4b63a9e21982d6244e5a24fd93dab697470ce0 /openstackclient/api | |
| parent | 17627c55956bca21ddb601fb2604579d0fbb9c9b (diff) | |
| download | python-openstackclient-d20c863ebc11cecaaefe043e615b2fb4f5f26063.tar.gz | |
osc-lib: exceptions
Use osc-lib directly for exceptions.
Leave openstackclient.common.exceptions for deprecation period.
Change-Id: Iea3e862302372e1b31ccd27f69db59b4953ca828
Diffstat (limited to 'openstackclient/api')
| -rw-r--r-- | openstackclient/api/api.py | 3 | ||||
| -rw-r--r-- | openstackclient/api/auth.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/openstackclient/api/api.py b/openstackclient/api/api.py index bd2abd88..0b00ff50 100644 --- a/openstackclient/api/api.py +++ b/openstackclient/api/api.py @@ -17,8 +17,7 @@ import simplejson as json from keystoneauth1 import exceptions as ks_exceptions from keystoneauth1 import session as ks_session - -from openstackclient.common import exceptions +from osc_lib import exceptions class KeystoneSession(object): diff --git a/openstackclient/api/auth.py b/openstackclient/api/auth.py index ded0e369..f1e53c49 100644 --- a/openstackclient/api/auth.py +++ b/openstackclient/api/auth.py @@ -17,8 +17,8 @@ import argparse import logging from keystoneauth1.loading import base +from osc_lib import exceptions as exc -from openstackclient.common import exceptions as exc from openstackclient.common import utils from openstackclient.i18n import _ |
