From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- testing/web-platform/update/tree.py | 6 +++--- testing/web-platform/update/upstream.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'testing/web-platform/update') diff --git a/testing/web-platform/update/tree.py b/testing/web-platform/update/tree.py index 48197c74b6..34e333bfe6 100644 --- a/testing/web-platform/update/tree.py +++ b/testing/web-platform/update/tree.py @@ -157,13 +157,13 @@ class GeckoCommitMessage(CommitMessage): # than just enforce a general pattern. _bug_re = re.compile( - "^Bug (\d+)[^\w]*(?:Part \d+[^\w]*)?(.*?)\s*(?:r=(\w*))?$", re.IGNORECASE + r"^Bug (\d+)[^\w]*(?:Part \d+[^\w]*)?(.*?)\s*(?:r=(\w*))?$", re.IGNORECASE ) _backout_re = re.compile( - "^(?:Back(?:ing|ed)\s+out)|Backout|(?:Revert|(?:ed|ing))", re.IGNORECASE + r"^(?:Back(?:ing|ed)\s+out)|Backout|(?:Revert|(?:ed|ing))", re.IGNORECASE ) - _backout_sha1_re = re.compile("(?:\s|\:)(0-9a-f){12}") + _backout_sha1_re = re.compile(r"(?:\s|\:)(0-9a-f){12}") def _parse_message(self): CommitMessage._parse_message(self) diff --git a/testing/web-platform/update/upstream.py b/testing/web-platform/update/upstream.py index 21efc72a13..7ca29ec5ed 100644 --- a/testing/web-platform/update/upstream.py +++ b/testing/web-platform/update/upstream.py @@ -174,7 +174,7 @@ class LoadCommits(Step): ) update_regexp = re.compile( - "Bug \d+ - Update web-platform-tests to revision [0-9a-f]{40}" + r"Bug \d+ - Update web-platform-tests to revision [0-9a-f]{40}" ) state.has_backouts = False -- cgit v1.2.3