Fix a typo

TrivialFix

Change-Id: Ic4c244635055be2ef5371307d8cd2ea677e78855
This commit is contained in:
gecong1973 2016-11-18 11:05:55 +08:00
parent 8b213835be
commit 42856b4d05

View File

@ -112,6 +112,6 @@ class NoExceptionTracebackHook(hooks.PecanHook):
faultsting = faultsting.split(traceback_marker, 1)[0] faultsting = faultsting.split(traceback_marker, 1)[0]
# Remove trailing newlines and spaces if any. # Remove trailing newlines and spaces if any.
json_body['faultstring'] = faultsting.rstrip() 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. # generated on the fly.
state.response.json = json_body state.response.json = json_body