From cf975aa8564ccb897a280d2a8da3e0d74f45e6f7 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 18 Jun 2013 15:45:50 +0000 Subject: [PATCH] fix svn error output --- tools/run_regression_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/run_regression_tests.py b/tools/run_regression_tests.py index c601971ff..14573f824 100644 --- a/tools/run_regression_tests.py +++ b/tools/run_regression_tests.py @@ -35,9 +35,9 @@ import subprocess import sys def indent(s): - s = string.split(s, '\n') - s = [(3 * ' ') + string.lstrip(line) for line in s] - s = string.join(s, '\n') + s = s.split('\n') + s = [(3 * ' ') + line.lstrip() for line in s] + s = '\n'.join(s) return s # returns a list of new revisions