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: I9dcbb36a482979758167351640eb6cacef62e43d
This commit is contained in:
Steve Martinelli 2015-12-27 01:49:54 -05:00
parent 2a6a8e422a
commit dc2508fe83
1 changed files with 1 additions and 2 deletions

View File

@ -23,8 +23,7 @@
# SOFTWARE.
from cinderclient.v1 import client as cinder_client
from keystoneclient.openstack.common.apiclient import (
exceptions as keystone_exceptions)
from keystoneclient import exceptions as keystone_exceptions
from keystoneclient.v2_0 import client as keystone_client
from neutronclient.v2_0 import client as neutron_client
from novaclient import client as nova_client