0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

SERVER-34071 SERVER-34071 Don't assume all executors have targets

This commit is contained in:
Andrew Morrow 2018-03-24 10:32:50 -04:00
parent 78a7801eb0
commit b06203cf7b

View File

@ -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)