diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-12-02 04:32:46 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-12-02 04:32:46 +0000 |
| commit | a97624ba290f86db74b120978fe19a4fc4b6bf4d (patch) | |
| tree | 8d8a26a45efca8684e3b34b0d0ef60c3a9ea1322 /openstackclient/compute | |
| parent | a85880cef85e86d0ef77c662119e59580077a713 (diff) | |
| parent | bf090c69c2e055285fc4fe45af0a5f66d6dc7759 (diff) | |
| download | python-openstackclient-a97624ba290f86db74b120978fe19a4fc4b6bf4d.tar.gz | |
Merge "Switch to ksa Session"
Diffstat (limited to 'openstackclient/compute')
| -rw-r--r-- | openstackclient/compute/v2/security_group.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/compute/v2/security_group.py b/openstackclient/compute/v2/security_group.py index 68f086bc..6d38195c 100644 --- a/openstackclient/compute/v2/security_group.py +++ b/openstackclient/compute/v2/security_group.py @@ -23,7 +23,7 @@ from cliff import command from cliff import lister from cliff import show -from keystoneclient import exceptions as ksc_exc +from keystoneauth1 import exceptions as ks_exc try: from novaclient.v2 import security_group_rules @@ -241,7 +241,7 @@ class ListSecurityGroup(lister.Lister): project_hash = {} try: projects = self.app.client_manager.identity.projects.list() - except ksc_exc.ClientException: + except ks_exc.ClientException: # This fails when the user is not an admin, just move along pass else: |
