pep8: enable E125 checks

Change-Id: Ic9904c80320b3bf7335d4871d509120320caf64b
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2013-06-19 14:54:10 +02:00
parent fa53511f86
commit faa7049c82
2 changed files with 2 additions and 2 deletions

View File

@ -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(

View File

@ -40,7 +40,7 @@ deps = -r{toxinidir}/requirements.txt
commands = {posargs}
[flake8]
ignore = E125,H301,H306
ignore = H301,H306
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools,nova_tests
show-source = True