Improve isMailNeeded
This commit is contained in:
parent
2ee4bd06cd
commit
35a0c0af6d
1 changed files with 4 additions and 0 deletions
|
@ -547,6 +547,10 @@ scheduler."""
|
||||||
# This means we're dealing with mn. We only send
|
# This means we're dealing with mn. We only send
|
||||||
# e-mail on mn_try.
|
# e-mail on mn_try.
|
||||||
return False
|
return False
|
||||||
|
else:
|
||||||
|
if self.sendToInterestedUsers:
|
||||||
|
# We're dealing with mn_try.
|
||||||
|
return False
|
||||||
return mail.MailNotifier.isMailNeeded (self, build, results)
|
return mail.MailNotifier.isMailNeeded (self, build, results)
|
||||||
|
|
||||||
mn = MyMailNotifier(fromaddr = GDB_MAIL_FROM,
|
mn = MyMailNotifier(fromaddr = GDB_MAIL_FROM,
|
||||||
|
|
Loading…
Reference in a new issue