Cleanup: pep8
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user