[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
This commit is contained in:
Jonas Devlieghere 2019-08-28 17:06:26 +00:00
parent f7ca0fe1c8
commit 0a114b3571
1 changed files with 0 additions and 8 deletions

View File

@ -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")