2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-21 14:49:41 +00:00

python: Fix several pep8 whitespace errors.

Fix the following pep8 errors:

  E201 whitespace after '('
  E203 whitespace before ','
  E222 multiple spaces after operator
  E225 missing whitespace around operator
  E226 missing whitespace around arithmetic operator
  E231 missing whitespace after ':'
  E241 multiple spaces after ':'
  E251 unexpected spaces around keyword / parameter equals
  E261 at least two spaces before inline comment
  E262 inline comment should start with '# '
  E265 block comment should start with '# '
  E271 multiple spaces after keyword

Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
Russell Bryant
2016-01-05 18:16:20 -05:00
parent 3c057118d1
commit a0631d92d9
14 changed files with 51 additions and 45 deletions

View File

@@ -153,7 +153,7 @@ def from_string(s):
class Parser(object):
## Maximum height of parsing stack. ##
# Maximum height of parsing stack. #
MAX_HEIGHT = 1000
def __init__(self, check_trailer=False):