Fix a typo

TrivialFix

Change-Id: Ie590443df230417e0fdeb95f44407b357c4f8191
This commit is contained in:
gecong1973 2016-11-18 11:11:12 +08:00
parent 4978f34055
commit 61a227ea82
1 changed files with 1 additions and 1 deletions

View File

@ -120,6 +120,6 @@ class NoExceptionTracebackHook(hooks.PecanHook):
faultsting = faultsting.split(traceback_marker, 1)[0]
# Remove trailing newlines and spaces if any.
json_body['faultstring'] = faultsting.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