diff options
author | W. Trevor King <wking@drexel.edu> | 2009-09-26 12:48:42 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-09-26 12:48:42 -0400 |
commit | f6be0960f00fba5265bc21d7e24f85cce22ae8a3 (patch) | |
tree | 08e9548354b17e0f23661e82753e2608dc766aa5 /interfaces/email/interactive/be-handle-mail | |
parent | c43a753e999623086888d8e374db72d69168661b (diff) | |
download | bugseverywhere-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.
Diffstat (limited to 'interfaces/email/interactive/be-handle-mail')
-rwxr-xr-x | interfaces/email/interactive/be-handle-mail | 2 |
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 [] |