From 4f36f5d9032a1a1afc1206609b7b9139bf6344c0 Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Wed, 27 Jan 2010 01:55:50 +0000 Subject: Only escape the executable python string itself on the display line. --- runtest.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/runtest.py b/runtest.py index a4dcee4..a927940 100644 --- a/runtest.py +++ b/runtest.py @@ -761,11 +761,12 @@ else: total_start_time = time_func() for t in tests: - t.command_args = [python, '-tt'] + command_args = ['-tt'] if debug: - t.command_args.append(debug) - t.command_args.append(t.path) - t.command_str = string.join(map(escape, t.command_args), " ") + command_args.append(debug) + command_args.append(t.path) + t.command_args = [python] + command_args + t.command_str = string.join([escape(python)] + command_args, " ") if printcommand: sys.stdout.write(t.command_str + "\n") test_start_time = time_func() -- cgit v0.12