From 0cf82e29607021485b57970f62b311126830ac24 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Tue, 15 Mar 2016 19:02:34 -0400 Subject: [PATCH] Fixing property, again --- master.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/master.cfg b/master.cfg index 855dbe9..10b9a4a 100644 --- a/master.cfg +++ b/master.cfg @@ -391,7 +391,7 @@ class MyMailNotifier (mail.MailNotifier): """Extend the regular MailNotifier class in order to filter e-mails by scheduler.""" def isMailNeeded (self, build): - if Property ('scheduler') != 'racy': + if build.properties.getProperty ('scheduler') != 'racy': return mail.MailNotifier.isMailNeeded (self, build) else: return False @@ -574,10 +574,10 @@ class CleanupBreakageLockfile (ShellCommand): def scheduler_is_racy (step): - return Property ('scheduler') == 'racy' + return step.getProperty ('scheduler') == 'racy' def scheduler_is_not_racy (step): - return Property ('scheduler') != 'racy' + return step.getProperty ('scheduler') != 'racy' ####################### #### Build Factory ####