Skip to content

Commit e6ef2e3

Browse files
committed
Use shlex.join rather than joining shlex.quote
1 parent 4dcb0f4 commit e6ef2e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/lsst/sconsUtils/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def runPythonTests(self, pyList):
518518
mv ${{TARGET}}.out ${{TARGET}}.failed; \
519519
fi;
520520
"""
521-
testfiles = " ".join([shlex.quote(p) for p in pythonTestFiles])
521+
testfiles = shlex.join(pythonTestFiles)
522522
result = self._env.Command(target, None, cmd.format(interpreter, testfiles, libpathstr))
523523

524524
self._env.Alias(os.path.basename(target), target)

0 commit comments

Comments
 (0)