Cleanup: pep8

This commit is contained in:
2018-08-28 21:00:25 +10:00
parent e20ed59037
commit 590a6b5269
11 changed files with 22 additions and 19 deletions

View File

@@ -76,8 +76,10 @@ def main():
for l in fsrc:
l = l[:-1]
# weak but ok
if ((("BMOpDefine" in l and l.split()[1] == "BMOpDefine") and "bmo_opdefines[]" not in l) or
("static BMO_FlagSet " in l)):
if (
(("BMOpDefine" in l and l.split()[1] == "BMOpDefine") and "bmo_opdefines[]" not in l) or
("static BMO_FlagSet " in l)
):
is_block = True
block_ctx = []
blocks.append((comment_ctx, block_ctx))