summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorJosh Kearney <josh@jk0.org>2013-01-22 14:03:35 -0600
committerJosh Kearney <josh@jk0.org>2013-01-22 20:22:40 -0600
commitdf34db8afbe85e64a4b5d11338ef08b3ed287539 (patch)
treefbcf0994c4b5cdc71a4cd0ed39e89ade8826280c /openstackclient
parentc1ea2989049c102fde0ea22ac06d066a34d7b0db (diff)
downloadpython-openstackclient-df34db8afbe85e64a4b5d11338ef08b3ed287539.tar.gz
Remove incorrect 'raise'.
Fixes bug 1096102. Change-Id: Ibcdccd949566f47bb516c7562149d6b0100fce18
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/identity/v2_0/endpoint.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/openstackclient/identity/v2_0/endpoint.py b/openstackclient/identity/v2_0/endpoint.py
index a9a2e7a4..cb06b6ab 100644
--- a/openstackclient/identity/v2_0/endpoint.py
+++ b/openstackclient/identity/v2_0/endpoint.py
@@ -211,8 +211,6 @@ class ShowEndpoint(show.ShowOne):
msg = "No service with a type, name or ID of '%s' exists" \
% parsed_args.service
raise exceptions.CommandError(msg)
- else:
- raise
data = identity_client.endpoints.list()
for ep in data: