summaryrefslogtreecommitdiff
path: root/heatclient/exc.py
diff options
context:
space:
mode:
authorzhufl <zhu.fanglei@zte.com.cn>2019-05-21 14:59:53 +0800
committerzhufl <zhu.fanglei@zte.com.cn>2019-05-21 15:03:08 +0800
commit036ae75689a8bdbb38c471e417bc71becb423bb0 (patch)
tree891353b1a0bb2578a41963af057453e08ac6ebb3 /heatclient/exc.py
parent270b7a0b43a440932b99f5db4213c5ce1a108c17 (diff)
downloadpython-heatclient-036ae75689a8bdbb38c471e417bc71becb423bb0.tar.gz
Fix missing print format
This is to: 1. Add missing print format for "%(hook_type)". 2. Add ws between words in log message "notavailable". Change-Id: Iaee8697c95f66bff0536db9a266158a3cbc89412
Diffstat (limited to 'heatclient/exc.py')
-rw-r--r--heatclient/exc.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/heatclient/exc.py b/heatclient/exc.py
index cc640da..e3ac2f9 100644
--- a/heatclient/exc.py
+++ b/heatclient/exc.py
@@ -77,8 +77,7 @@ class HTTPMultipleChoices(HTTPException):
code = 300
def __str__(self):
- self.details = _("Requested version of Heat API is not"
- "available.")
+ self.details = _("Requested version of Heat API is not available.")
return (_("%(name)s (HTTP %(code)s) %(details)s") %
{
'name': reflection.get_class_name(self, fully_qualified=False),