summaryrefslogtreecommitdiffstats
path: root/build/valgrind
diff options
context:
space:
mode:
Diffstat (limited to 'build/valgrind')
-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)