aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-09-26 12:48:42 -0400
committerW. Trevor King <wking@drexel.edu>2009-09-26 12:48:42 -0400
commitf6be0960f00fba5265bc21d7e24f85cce22ae8a3 (patch)
tree08e9548354b17e0f23661e82753e2608dc766aa5
parentc43a753e999623086888d8e374db72d69168661b (diff)
downloadbugseverywhere-f6be0960f00fba5265bc21d7e24f85cce22ae8a3.tar.gz
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.
-rwxr-xr-xinterfaces/email/interactive/be-handle-mail2
1 files changed, 2 insertions, 0 deletions
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 []