diff options
Diffstat (limited to 'buildscripts/burn_in_tests.py')
-rw-r--r-- | buildscripts/burn_in_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/burn_in_tests.py b/buildscripts/burn_in_tests.py index e3b55209826..e6c676677a8 100644 --- a/buildscripts/burn_in_tests.py +++ b/buildscripts/burn_in_tests.py @@ -107,7 +107,7 @@ def find_last_activated_task(revisions, variant, branch_name): build_prefix = "mongodb_mongo_" + branch_name + "_" + variant.replace('-', '_') evg_cfg = read_evg_config() - if "api_server_host" in evg_cfg: + if evg_cfg is not None and "api_server_host" in evg_cfg: api_server = "{url.scheme}://{url.netloc}".format( url=urlparse.urlparse(evg_cfg["api_server_host"])) else: @@ -427,5 +427,6 @@ def main(): sys.exit(0) + if __name__ == "__main__": main() |