Fix first regression introduced with r55173: need to import shutil before using metho...
[blender.git] / build_files / buildbot / slave_compile.py
index 0b11e642035acce99bba59daed4c6030502f90bd..38b621a9055a1d1dc60f97c1c94031c97595539e 100644 (file)
@@ -21,6 +21,7 @@
 import os
 import subprocess
 import sys
+import shutil
 
 # get builder name
 if len(sys.argv) < 2:
@@ -70,8 +71,6 @@ else:
     config_dir = os.path.join(buildbot_dir, 'config')
 
     if builder.find('linux') != -1:
-        import shutil
-
         configs = []
         if builder.endswith('linux_glibc211_x86_64_scons'):
             configs = ['user-config-player-glibc211-x86_64.py',