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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-10-02 03:10:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-10-02 04:59:16 +0300
commitbab9de2a52929fe2b45ecddb1eb09da3378e303b (patch)
treecde61c5cb86dfad1c90aa414a8c7b1711ec25782 /build_files/cmake
parent28ebe827e60c84ed4731a9f8aa701ccf2d8be0b0 (diff)
Cleanup: pep8, blank lines
Diffstat (limited to 'build_files/cmake')
-rw-r--r--build_files/cmake/clang_array_check.py2
-rw-r--r--build_files/cmake/cmake_print_build_options.py1
-rwxr-xr-xbuild_files/cmake/example_scripts/make_quicky.py1
-rw-r--r--build_files/cmake/project_source_info.py1
4 files changed, 5 insertions, 0 deletions
diff --git a/build_files/cmake/clang_array_check.py b/build_files/cmake/clang_array_check.py
index de0b55c70e0..2456f099640 100644
--- a/build_files/cmake/clang_array_check.py
+++ b/build_files/cmake/clang_array_check.py
@@ -355,6 +355,8 @@ def recursive_arg_sizes(node, ):
# print("adding", node.spelling)
for c in node.get_children():
recursive_arg_sizes(c)
+
+
# cache function sizes
recursive_arg_sizes(tu.cursor)
_defs.update(defs_precalc)
diff --git a/build_files/cmake/cmake_print_build_options.py b/build_files/cmake/cmake_print_build_options.py
index fb7a5b33bf0..e41a1d2f873 100644
--- a/build_files/cmake/cmake_print_build_options.py
+++ b/build_files/cmake/cmake_print_build_options.py
@@ -8,6 +8,7 @@ import sys
cmakelists_file = sys.argv[-1]
+
def main():
options = []
for l in open(cmakelists_file, 'r').readlines():
diff --git a/build_files/cmake/example_scripts/make_quicky.py b/build_files/cmake/example_scripts/make_quicky.py
index a1334d6fc83..51985e930ae 100755
--- a/build_files/cmake/example_scripts/make_quicky.py
+++ b/build_files/cmake/example_scripts/make_quicky.py
@@ -114,5 +114,6 @@ def main():
import subprocess
subprocess.call(cmd)
+
if __name__ == "__main__":
main()
diff --git a/build_files/cmake/project_source_info.py b/build_files/cmake/project_source_info.py
index f8067c216fd..83cc979ca30 100644
--- a/build_files/cmake/project_source_info.py
+++ b/build_files/cmake/project_source_info.py
@@ -242,5 +242,6 @@ def main():
for s in build_info():
print(s)
+
if __name__ == "__main__":
main()