pep8: enable E125 checks
Change-Id: Ic9904c80320b3bf7335d4871d509120320caf64b Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
fa53511f86
commit
faa7049c82
@ -69,7 +69,7 @@ class ParsableErrorMiddleware(object):
|
||||
if (state['status_code'] / 100) not in (2, 3):
|
||||
req = webob.Request(environ)
|
||||
if (req.accept.best_match(['application/json', 'application/xml'])
|
||||
== 'application/xml'):
|
||||
== 'application/xml'):
|
||||
try:
|
||||
# simple check xml is valid
|
||||
body = [et.ElementTree.tostring(
|
||||
|
Loading…
Reference in New Issue
Block a user