Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-08-28 14:00:25 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-28 14:01:22 +0300
commit590a6b526987f08f8b8160bce83c83aab0076a6e (patch)
tree241ecbf5713c759834b03654642ee5087a650657 /doc
parente20ed590371a40d1cef74e145634029dd4626e87 (diff)
Cleanup: pep8
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst_from_bmesh_opdefines.py6
-rw-r--r--doc/python_api/sphinx_doc_gen.py2
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/python_api/rst_from_bmesh_opdefines.py b/doc/python_api/rst_from_bmesh_opdefines.py
index 8357d063429..d9e2f7f12e7 100644
--- a/doc/python_api/rst_from_bmesh_opdefines.py
+++ b/doc/python_api/rst_from_bmesh_opdefines.py
@@ -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))
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 14222d03d87..6e7d2e45f3a 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -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.