[Bf-blender-cvs] [4053fa9fcbe] master: Fix invalid version check in 'project_source_info'

Campbell Barton noreply at git.blender.org
Fri Oct 2 05:48:27 CEST 2020


Commit: 4053fa9fcbe37900e8035079d76cbea6ca1f2461
Author: Campbell Barton
Date:   Fri Oct 2 13:46:41 2020 +1000
Branches: master
https://developer.blender.org/rB4053fa9fcbe37900e8035079d76cbea6ca1f2461

Fix invalid version check in 'project_source_info'

Own error in 870fcb3857ba36986d1d44ab4ac519897f8fb264

===================================================================

M	build_files/cmake/project_source_info.py

===================================================================

diff --git a/build_files/cmake/project_source_info.py b/build_files/cmake/project_source_info.py
index 83cc979ca30..eb14eea18ef 100644
--- a/build_files/cmake/project_source_info.py
+++ b/build_files/cmake/project_source_info.py
@@ -25,7 +25,7 @@ __all__ = (
 
 
 import sys
-if not sys.version_info.major < 3:
+if sys.version_info.major < 3:
     print("\nPython3.x or newer needed, found %s.\nAborting!\n" %
           sys.version.partition(" ")[0])
     sys.exit(1)



More information about the Bf-blender-cvs mailing list