From: W. Trevor King Date: Sat, 26 Sep 2009 16:48:42 +0000 (-0400) Subject: Load bugs in be-handle-mail.Message.subscriber_emails(). X-Git-Tag: 1.0.0~62^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f6be0960f00fba5265bc21d7e24f85cce22ae8a3;p=be.git Load bugs in be-handle-mail.Message.subscriber_emails(). Because subscribe.get_bugdir_subscribers() only looks for subscribers in bugs that are already in memory. --- diff --git a/interfaces/email/interactive/be-handle-mail b/interfaces/email/interactive/be-handle-mail index e8492bb..18df727 100755 --- a/interfaces/email/interactive/be-handle-mail +++ b/interfaces/email/interactive/be-handle-mail @@ -617,7 +617,9 @@ class Message (object): if bd.vcs.versioned == False: # no way to tell what's changed raise NotificationFailed("Not versioned") + bd.load_all_bugs() subscribers = subscribe.get_bugdir_subscribers(bd, THIS_SERVER) + if len(subscribers) == 0: return []