diff --git a/.evergreen/mongodl.py b/.evergreen/mongodl.py index f3115998..28d91a59 100755 --- a/.evergreen/mongodl.py +++ b/.evergreen/mongodl.py @@ -122,6 +122,9 @@ }, } +# The list of valid targets that are not related to a specific Linux distro. +TARGETS_THAT_ARE_NOT_DISTROS = ['linux_i686', 'linux_x86_64', 'osx', 'macos', 'windows'] + def infer_target(version: Optional[str] = None) -> str: """ @@ -410,7 +413,7 @@ def _import_json_data(self, data: 'Any') -> None: for distro in DISTRO_ID_TO_TARGET.values(): if target in list(distro.values()): found = True - if not found and target not in ['macos', 'windows']: + if not found and target not in TARGETS_THAT_ARE_NOT_DISTROS: missing.add(target) edition = dl['edition'] ar_url = dl['archive']['url']