Code cleanup: style

This commit is contained in:
Campbell Barton
2014-04-03 09:24:09 +11:00
parent 03bd418d16
commit f38331adef
15 changed files with 17 additions and 19 deletions

View File

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