From 22b655dfd110cc5a6fb915aff290fe20e9f9c56f Mon Sep 17 00:00:00 2001 From: Jonathan Griffin Date: Fri, 7 Dec 2012 10:38:13 -0800 Subject: [PATCH] Bug 818738 - Open resultfile with 'w' instead of 'a', a=test-only --- testing/tps/tps/testrunner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/tps/tps/testrunner.py b/testing/tps/tps/testrunner.py index 1a9fe337fb72..3779fdc6babb 100644 --- a/testing/tps/tps/testrunner.py +++ b/testing/tps/tps/testrunner.py @@ -134,7 +134,7 @@ class TPSTestRunner(object): def writeToResultFile(self, postdata, body=None, sendTo='crossweave@mozilla.com'): """Writes results to test file""" - f = open(self.resultfile, 'a') + f = open(self.resultfile, 'w') if body is not None: postdata['body'] = body if self.numpassed is not None: