summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-06-03 14:37:33 +0000
committerGerrit Code Review <review@openstack.org>2015-06-03 14:37:33 +0000
commitaa7145e0c96bc5e33c360edc3e51df2750ada42c (patch)
tree7732f3cb38d73250bb1ab3dae40430cef5116bdc /openstackclient
parent81558d9ce387fa9786da994bf9cbfc7362726bf3 (diff)
parentb2cf651100b2a6dc1b934b86390eff94ef9f8fdc (diff)
downloadpython-openstackclient-aa7145e0c96bc5e33c360edc3e51df2750ada42c.tar.gz
Merge "Fix security group list command"
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/compute/v2/security_group.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/compute/v2/security_group.py b/openstackclient/compute/v2/security_group.py
index d860bf80..3dc9bae0 100644
--- a/openstackclient/compute/v2/security_group.py
+++ b/openstackclient/compute/v2/security_group.py
@@ -161,7 +161,7 @@ class ListSecurityGroup(lister.Lister):
project_hash = {}
try:
projects = self.app.client_manager.identity.projects.list()
- except ksc_exc.Forbidden:
+ except ksc_exc.ClientException:
# This fails when the user is not an admin, just move along
pass
else: