diff options
author | Ihar Hrachyshka <ihrachys@redhat.com> | 2014-06-20 22:13:38 +0200 |
---|---|---|
committer | Ihar Hrachyshka <ihrachys@redhat.com> | 2014-06-20 22:13:38 +0200 |
commit | 3d3da3e7a3d904dbd24a7bf56eced31ca81dc054 (patch) | |
tree | 4552c930a1cbe0b9e04351fbf922e9cc4a8f6baf | |
parent | c16226205918b25341ee7f7b7c30bbcbd316451a (diff) | |
download | oslo-middleware-3d3da3e7a3d904dbd24a7bf56eced31ca81dc054.tar.gz |
pep8: fixed multiple violations
Fixed violations:
* E128 continuation line under-indented for visual indent
* E251 unexpected spaces around keyword / parameter equals
* E265 block comment should start with '# '
* E713 test for membership should be 'not in'
* F402 import shadowed by loop variable
* H305 imports not grouped correctly
* H307 like imports should be grouped together'
* H402 one line docstring needs punctuation'
* H703 Multiple positional placeholders
Also enabled H803 check that didn't have any violations.
Change-Id: I957ab273ddc61b02763d6b60b21d11ed4e73d472
-rw-r--r-- | openstack/common/middleware/sizelimit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/middleware/sizelimit.py b/openstack/common/middleware/sizelimit.py index f54ec9e..0909e97 100644 --- a/openstack/common/middleware/sizelimit.py +++ b/openstack/common/middleware/sizelimit.py @@ -25,7 +25,7 @@ from openstack.common.gettextutils import _ from openstack.common.middleware import base -#default request size is 112k +# default request size is 112k max_req_body_size = cfg.IntOpt('max_request_body_size', deprecated_name='osapi_max_request_body_size', default=114688, |