summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2018-03-24 10:32:50 -0400
committerAndrew Morrow <acm@mongodb.com>2018-03-24 10:32:50 -0400
commitb06203cf7b99d582b2be211f2e8fc5bbca8f3263 (patch)
tree3874bba6009d2aca80bae019b05730ee9cbb9e41 /site_scons
parent78a7801eb0f6e102895b83fbb544eb1d2c5220b8 (diff)
downloadmongo-b06203cf7b99d582b2be211f2e8fc5bbca8f3263.tar.gz
SERVER-34071 SERVER-34071 Don't assume all executors have targets
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/site_tools/auto_install_binaries.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/site_scons/site_tools/auto_install_binaries.py b/site_scons/site_tools/auto_install_binaries.py
index 28e8aeb1c41..19232645e26 100644
--- a/site_scons/site_tools/auto_install_binaries.py
+++ b/site_scons/site_tools/auto_install_binaries.py
@@ -65,7 +65,7 @@ def generate(env):
for install_source in install_sources:
is_executor = install_source.get_executor()
is_targets = is_executor.get_all_targets()
- for is_target in is_targets:
+ for is_target in (is_targets or []):
grandchildren = is_target.children()
for grandchild in grandchildren:
actions = getattr(grandchild.attributes, "aib_install_actions", None)