Bug 997598 - Don't strip leading white space from mochitest output lines when stack fixer is in use. r=wlach

This commit is contained in:
Cameron McCormack 2014-04-18 11:34:47 +10:00
parent 284f933831
commit 6e6173ac23

View File

@ -1295,7 +1295,7 @@ class Mochitest(MochitestUtilsMixin):
stdout=subprocess.PIPE)
def fixFunc(line):
stackFixerProcess.stdin.write(line + '\n')
return stackFixerProcess.stdout.readline().strip()
return stackFixerProcess.stdout.readline().rstrip()
stackFixerFunction = fixFunc