1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

land: Fix stage description during failure.

This commit is contained in:
Jelmer Vernooij 2010-10-05 12:43:09 +02:00
parent 47d1c49608
commit a228879903

View File

@ -183,7 +183,7 @@ class AbortingTestResult(subunithelper.TestsuiteEnabledTestResult):
class FailureTrackingTestResult(subunithelper.TestsuiteEnabledTestResult):
def __init__(self, stage):
super(AbortingTestResult, self).__init__()
super(FailureTrackingTestResult, self).__init__()
self.stage = stage
def addError(self, test, details=None):
@ -581,7 +581,7 @@ The top commit for the tree that was built was:
msg = MIMEMultipart()
msg['Subject'] = 'autobuild failure for task %s during %s' % (
failed_task, failed_stage)
failed_task, failed_stage.name)
msg['From'] = 'autobuild@samba.org'
msg['To'] = options.email