[Bf-blender-cvs] [9e77a03] master: Buildbot: Use proper list management function

Sergey Sharybin noreply at git.blender.org
Tue May 31 15:20:15 CEST 2016


Commit: 9e77a03f63d7771fc197a7647f5e15756e07471c
Author: Sergey Sharybin
Date:   Tue May 31 15:20:14 2016 +0200
Branches: master
https://developer.blender.org/rB9e77a03f63d7771fc197a7647f5e15756e07471c

Buildbot: Use proper list management function

Spotted by Campbell, thanks!

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

M	build_files/buildbot/slave_compile.py

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

diff --git a/build_files/buildbot/slave_compile.py b/build_files/buildbot/slave_compile.py
index aa643b2..c82fe4a 100644
--- a/build_files/buildbot/slave_compile.py
+++ b/build_files/buildbot/slave_compile.py
@@ -77,16 +77,16 @@ if 'cmake' in builder:
     elif builder.startswith('win'):
       if builder.endswith('_vc14'):
         if builder.startswith('win64'):
-            cmake_options.append(['-G', '"Visual Studio 14 2015 Win64"'])
+            cmake_options.extend(['-G', '"Visual Studio 14 2015 Win64"'])
         elif builder.startswith('win32'):
             bits = 32
-            cmake_options.append(['-G', '"Visual Studio 14 2015"'])
+            cmake_options.extend(['-G', '"Visual Studio 14 2015"'])
       else:
         if builder.startswith('win64'):
-            cmake_options.append(['-G', '"Visual Studio 12 2013 Win64"'])
+            cmake_options.extend(['-G', '"Visual Studio 12 2013 Win64"'])
         elif builder.startswith('win32'):
             bits = 32
-            cmake_options.append(['-G', '"Visual Studio 12 2013"'])
+            cmake_options.extend(['-G', '"Visual Studio 12 2013"'])
 
     elif builder.startswith('linux'):
         tokens = builder.split("_")




More information about the Bf-blender-cvs mailing list