diff --git a/utils.py b/utils.py index 6f2ad43f..8550e3a2 100644 --- a/utils.py +++ b/utils.py @@ -541,10 +541,11 @@ def waitIfStaging(step: BuildStep) -> bool: return True + def hasAutobake(step: BuildStep) -> bool: builder_name = step.getProperty("buildername") for b in BUILDERS_AUTOBAKE: - if builder_name in b: + if builder_name == b: return True return False @@ -568,7 +569,7 @@ def hasS3(props): def hasBigtest(step: BuildStep) -> bool: builder_name = step.getProperty("buildername") for b in BUILDERS_BIG: - if builder_name in b: + if builder_name == b: return True return False