diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /build/pgo/genpgocert.py | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/pgo/genpgocert.py')
-rw-r--r-- | build/pgo/genpgocert.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/pgo/genpgocert.py b/build/pgo/genpgocert.py index 8edaa47ba9..e844946466 100644 --- a/build/pgo/genpgocert.py +++ b/build/pgo/genpgocert.py @@ -20,9 +20,9 @@ from mozfile import NamedTemporaryFile, TemporaryDirectory from mozprofile.permissions import ServerLocations dbFiles = [ - re.compile("^cert[0-9]+\.db$"), - re.compile("^key[0-9]+\.db$"), - re.compile("^secmod\.db$"), + re.compile(r"^cert[0-9]+\.db$"), + re.compile(r"^key[0-9]+\.db$"), + re.compile(r"^secmod\.db$"), ] @@ -77,7 +77,7 @@ def writeCertspecForServerLocations(fd): i for i in iter(locations) if i.scheme == "https" and "nocert" not in i.options ]: customCertOption = False - customCertRE = re.compile("^cert=(?:\w+)") + customCertRE = re.compile(r"^cert=(?:\w+)") for _ in [i for i in loc.options if customCertRE.match(i)]: customCertOption = True break |