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))

View File

@@ -349,7 +349,7 @@ INFO_DOCS = (
"Tips and Tricks: Hints to help you while writing scripts for Blender"),
("info_gotcha.rst",
"Gotcha's: some of the problems you may come up against when writing scripts"),
("change_log.rst", "List of changes since last Blender release"),
("change_log.rst", "List of changes since last Blender release"),
)
# only support for properties atm.