From ba762e5765bba8aaf57149142e5eaffb84ac2e21 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Fri, 20 Dec 2024 12:39:12 +1100 Subject: [PATCH] hasAutobake/hasBigtest - exact match While the current matches are exact, there was risk in "in" as a comparision matching those builder names with suffixes. As this pattern was copied to other build conditions, lets keep a good pattern to copy. --- utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.py b/utils.py index 1027d8ce4..c0fd5c534 100644 --- a/utils.py +++ b/utils.py @@ -553,7 +553,7 @@ def waitIfStaging(step): def hasAutobake(props): builderName = props.getProperty("buildername") for b in builders_autobake: - if builderName in b: + if builderName == b: return True return False @@ -580,7 +580,7 @@ def hasBigtest(props): builderName = str(props.getProperty("buildername")) for b in builders_big: - if builderName in b: + if builderName == b: return True return False