From 0f9361ee6cef18fb0e2d8df893a1c002f63c70c5 Mon Sep 17 00:00:00 2001 From: zhangyanxian Date: Tue, 27 Sep 2016 06:32:30 +0000 Subject: [PATCH] Fix typo in hooks.py TrivialFix Change-Id: Iff206110433b9cd76a1a2b7c6475267a9c7a568c --- watcher/api/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watcher/api/hooks.py b/watcher/api/hooks.py index db0bf78c0..8147e3968 100644 --- a/watcher/api/hooks.py +++ b/watcher/api/hooks.py @@ -114,6 +114,6 @@ class NoExceptionTracebackHook(hooks.PecanHook): faultstring = faultstring.split(traceback_marker, 1)[0] # Remove trailing newlines and spaces if any. json_body['faultstring'] = faultstring.rstrip() - # Replace the whole json. Cannot change original one beacause it's + # Replace the whole json. Cannot change original one because it's # generated on the fly. state.response.json = json_body