Improve isMailNeeded

This commit is contained in:
Sergio Durigan Junior 2016-07-23 13:34:19 -04:00
parent 2ee4bd06cd
commit 35a0c0af6d

View file

@ -547,6 +547,10 @@ scheduler."""
# This means we're dealing with mn. We only send
# e-mail on mn_try.
return False
else:
if self.sendToInterestedUsers:
# We're dealing with mn_try.
return False
return mail.MailNotifier.isMailNeeded (self, build, results)
mn = MyMailNotifier(fromaddr = GDB_MAIL_FROM,