summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-05 12:43:09 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-05 23:56:10 +0200
commita2288799039e570a0e647db1b3488314265819aa (patch)
treea2d4a1c49014d6f184f3c46a68d1b0f61127572e
parent47d1c496084fd0974e20bc6c0694456f71391f8a (diff)
downloadsamba-a2288799039e570a0e647db1b3488314265819aa.tar.gz
samba-a2288799039e570a0e647db1b3488314265819aa.tar.bz2
samba-a2288799039e570a0e647db1b3488314265819aa.zip
land: Fix stage description during failure.
-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