[Bf-blender-cvs] [51d8facbc32] master: Fix buildbot Python executable not found on Windows

Brecht Van Lommel noreply at git.blender.org
Tue Sep 3 14:36:11 CEST 2019


Commit: 51d8facbc3275211841fc90e93875e1af88ca4a0
Author: Brecht Van Lommel
Date:   Tue Sep 3 14:35:22 2019 +0200
Branches: master
https://developer.blender.org/rB51d8facbc3275211841fc90e93875e1af88ca4a0

Fix buildbot Python executable not found on Windows

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

M	build_files/buildbot/slave_update.py

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

diff --git a/build_files/buildbot/slave_update.py b/build_files/buildbot/slave_update.py
index f64b706830b..16b18de3a5d 100644
--- a/build_files/buildbot/slave_update.py
+++ b/build_files/buildbot/slave_update.py
@@ -20,6 +20,7 @@
 
 import buildbot_utils
 import os
+import sys
 
 if __name__ == "__main__":
     builder = buildbot_utils.create_builder_from_arguments()
@@ -27,4 +28,4 @@ if __name__ == "__main__":
 
     # Run make update which handles all libraries and submodules.
     make_update = os.path.join(builder.blender_dir, "build_files", "utils", "make_update.py")
-    buildbot_utils.call(['python3', make_update])
+    buildbot_utils.call([sys.executable, make_update])



More information about the Bf-blender-cvs mailing list