diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-03-11 13:11:46 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-03-11 13:11:46 +0400 |
commit | ed1c22db00630b427154f0608e1028660ce51be1 (patch) | |
tree | 484a3fb53ec6dd0ec3d329614299f0af6b84d9bc | |
parent | 4daef649866cfc2699b30b2eeab0e0370265c76a (diff) |
Fix first regression introduced with r55173: need to import shutil before using methods from it
Otherwise linux buildbot fails dramatically.
That revision also leads to msvc runtime libs being removed, will fix this
in separate commit.
Take more respect for such creepy as linux and windows platforms, they're not so bad!
-rw-r--r-- | build_files/buildbot/slave_compile.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build_files/buildbot/slave_compile.py b/build_files/buildbot/slave_compile.py index 0b11e642035..38b621a9055 100644 --- a/build_files/buildbot/slave_compile.py +++ b/build_files/buildbot/slave_compile.py @@ -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', |