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:
Diffstat (limited to 'build_files/cmake/cmake_static_check_smatch.py')
-rw-r--r--build_files/cmake/cmake_static_check_smatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/cmake_static_check_smatch.py b/build_files/cmake/cmake_static_check_smatch.py
index ad8b872b22c..de13d141276 100644
--- a/build_files/cmake/cmake_static_check_smatch.py
+++ b/build_files/cmake/cmake_static_check_smatch.py
@@ -61,7 +61,7 @@ def main():
def my_process(i, c, cmd):
if not USE_QUIET:
- percent = 100.0 * (i / (len(check_commands) - 1))
+ percent = 100.0 * (i / len(check_commands))
percent_str = "[" + ("%.2f]" % percent).rjust(7) + " %:"
sys.stdout.flush()