From 75c85fbf6c6e8325324599d5dd9042572a5d82fa Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Wed, 16 Mar 2016 12:24:34 -0400 Subject: [PATCH] Adjusting args to isMailNeeded --- lib/config.json | 2 +- master.cfg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/config.json b/lib/config.json index 1dfda5a..081788c 100644 --- a/lib/config.json +++ b/lib/config.json @@ -321,7 +321,7 @@ }, { "type" : "Nightly", "name" : "racy", - "dayOfWeek" : "1", "hour" : "22", "minute" : "10", + "dayOfWeek" : "1", "hour" : "22", "minute" : "30", "builderNames" : [ "Fedora-x86_64-m64", "Fedora-x86_64-m32", "Fedora-x86_64-native-gdbserver-m64", diff --git a/master.cfg b/master.cfg index 88052ae..b00d77d 100644 --- a/master.cfg +++ b/master.cfg @@ -390,9 +390,9 @@ from buildbot.status import mail class MyMailNotifier (mail.MailNotifier): """Extend the regular MailNotifier class in order to filter e-mails by scheduler.""" - def isMailNeeded (self, build): + def isMailNeeded (self, build, results): if build.properties.getProperty ('scheduler') != 'racy': - return mail.MailNotifier.isMailNeeded (self, build) + return mail.MailNotifier.isMailNeeded (self, build, results) else: return False