summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v2_0/service.py
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-05-14 08:28:48 -0700
committerMonty Taylor <mordred@inaugust.com>2013-05-14 08:28:48 -0700
commit016a0b301e0ecfea5d84b09e7f1e22a86953c1c1 (patch)
tree8e97f2e2c69a1e4ec2f63ee4a417abaec7337f82 /openstackclient/identity/v2_0/service.py
parentd6c760263b5a7f77bbb35e31f92dd5a9140278ee (diff)
downloadpython-openstackclient-016a0b301e0ecfea5d84b09e7f1e22a86953c1c1.tar.gz
Fix flake8 errors in anticipation of flake8 patch.
Change-Id: Ifdc4322b699f2bd91a6900e55695acd3d736568e
Diffstat (limited to 'openstackclient/identity/v2_0/service.py')
-rw-r--r--openstackclient/identity/v2_0/service.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/openstackclient/identity/v2_0/service.py b/openstackclient/identity/v2_0/service.py
index 21e32a51..51abfc18 100644
--- a/openstackclient/identity/v2_0/service.py
+++ b/openstackclient/identity/v2_0/service.py
@@ -141,8 +141,10 @@ class ShowService(show.ShowOne):
# FIXME(dtroyer): This exception should eventually come from
# common client exceptions
except identity_exc.NotFound:
- msg = "No service with a type, name or ID of '%s' exists." % \
- name_or_id
+ msg = "No service with exists."
+ # TODO(mordred): Where does name_or_id come from?
+ # msg = ("No service with a type, name or ID of '%s' exists." %
+ # name_or_id)
raise exceptions.CommandError(msg)
info = {}