summaryrefslogtreecommitdiff
path: root/script/land.py
diff options
context:
space:
mode:
Diffstat (limited to 'script/land.py')
-rwxr-xr-xscript/land.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/land.py b/script/land.py
index a92fa44f64..6b25134d5d 100755
--- a/script/land.py
+++ b/script/land.py
@@ -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