diff options
Diffstat (limited to 'testing/web-platform/update')
-rw-r--r-- | testing/web-platform/update/tree.py | 6 | ||||
-rw-r--r-- | testing/web-platform/update/upstream.py | 2 |
2 files changed, 4 insertions, 4 deletions
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 |