From d20c863ebc11cecaaefe043e615b2fb4f5f26063 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Wed, 8 Jun 2016 14:17:14 -0500 Subject: osc-lib: exceptions Use osc-lib directly for exceptions. Leave openstackclient.common.exceptions for deprecation period. Change-Id: Iea3e862302372e1b31ccd27f69db59b4953ca828 --- openstackclient/api/api.py | 3 +-- openstackclient/api/auth.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'openstackclient/api') 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 _ -- cgit v1.2.1