diff options
Diffstat (limited to 'heatclient')
-rw-r--r-- | heatclient/common/hook_utils.py | 2 | ||||
-rw-r--r-- | heatclient/exc.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/heatclient/common/hook_utils.py b/heatclient/common/hook_utils.py index e970690..c08005c 100644 --- a/heatclient/common/hook_utils.py +++ b/heatclient/common/hook_utils.py @@ -29,7 +29,7 @@ def clear_hook(hc, stack_id, resource_name, hook_type): except exc.HTTPNotFound: logger.error( "Stack %(stack)s or resource %(resource)s " - "not found for hook %(hook_type)", + "not found for hook %(hook_type)s", {'resource': resource_name, 'stack': stack_id, 'hook_type': hook_type}) 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), |