diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /build/pgo/profileserver.py | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/pgo/profileserver.py')
-rwxr-xr-x | build/pgo/profileserver.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build/pgo/profileserver.py b/build/pgo/profileserver.py index 6eab7889b0..aae5e7997d 100755 --- a/build/pgo/profileserver.py +++ b/build/pgo/profileserver.py @@ -17,7 +17,6 @@ from mozhttpd import MozHttpd from mozprofile import FirefoxProfile, Preferences from mozprofile.permissions import ServerLocations from mozrunner import CLI, FirefoxRunner -from six import string_types PORT = 8888 @@ -120,7 +119,7 @@ if __name__ == "__main__": interpolation = {"server": "%s:%d" % httpd.httpd.server_address} sp3_interpolation = {"server": "%s:%d" % sp3_httpd.httpd.server_address} for k, v in prefs.items(): - if isinstance(v, string_types): + if isinstance(v, str): v = v.format(**interpolation) prefs[k] = Preferences.cast(v) |