summaryrefslogtreecommitdiffstats
path: root/build/valgrind/mach_commands.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /build/valgrind/mach_commands.py
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-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/valgrind/mach_commands.py')
-rw-r--r--build/valgrind/mach_commands.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/valgrind/mach_commands.py b/build/valgrind/mach_commands.py
index 047e489e00..e48d5af311 100644
--- a/build/valgrind/mach_commands.py
+++ b/build/valgrind/mach_commands.py
@@ -45,7 +45,6 @@ def valgrind_test(command_context, suppressions):
from mozprofile.permissions import ServerLocations
from mozrunner import FirefoxRunner
from mozrunner.utils import findInPath
- from six import string_types
from valgrind.output_handler import OutputHandler
build_dir = os.path.join(command_context.topsrcdir, "build")
@@ -75,7 +74,7 @@ def valgrind_test(command_context, suppressions):
"server": "%s:%d" % 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)