Bug 818738 - Open resultfile with 'w' instead of 'a', a=test-only

This commit is contained in:
Jonathan Griffin 2012-12-07 10:38:13 -08:00
parent 189fc5a5c9
commit 22b655dfd1

View File

@ -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: