From 0a114b3571fa8f703a85b60142e5479249293dcc Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 28 Aug 2019 17:06:26 +0000 Subject: [dotest] Don't spend time replacing spaces in print output. Replacing all spaces with dashes seems like a lot of needless work for a string that's just printed. llvm-svn: 370231 --- lldb/packages/Python/lldbsuite/test/dotest.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lldb/packages/Python/lldbsuite/test') diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index d9e5980b3f3..6dd45003d9c 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -1274,14 +1274,6 @@ def run_suite(): configString = "arch=%s compiler=%s" % (configuration.arch, configuration.compiler) - # Translate ' ' to '-' for pathname component. - if six.PY2: - import string - tbl = string.maketrans(' ', '-') - else: - tbl = str.maketrans(' ', '-') - configPostfix = configString.translate(tbl) - # Output the configuration. if configuration.verbose: sys.stderr.write("\nConfiguration: " + configString + "\n") -- cgit v1.2.3