Update python/servo/try_parser.py

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
sagudev 2025-04-01 14:27:40 +02:00 committed by GitHub
parent 97cb35a718
commit b63d21af5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,9 +107,7 @@ class JobConfig(object):
def handle_preset(s: str) -> Optional[JobConfig]:
s = s.lower()
if s == "linux-arm":
return JobConfig("Linux ARM", Workflow.LINUX_ARM)
elif any(word in s for word in ["arm"]):
if s == "linux-arm" or any(word in s for word in ["arm"]):
return JobConfig("Linux ARM", Workflow.LINUX_ARM)
elif any(word in s for word in ["linux"]):
return JobConfig("Linux", Workflow.LINUX)