projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c43a753
)
Load bugs in be-handle-mail.Message.subscriber_emails().
author
W. Trevor King
<wking@drexel.edu>
Sat, 26 Sep 2009 16:48:42 +0000
(12:48 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Sat, 26 Sep 2009 16:48:42 +0000
(12:48 -0400)
Because subscribe.get_bugdir_subscribers() only looks for subscribers
in bugs that are already in memory.
interfaces/email/interactive/be-handle-mail
patch
|
blob
|
history
diff --git
a/interfaces/email/interactive/be-handle-mail
b/interfaces/email/interactive/be-handle-mail
index e8492bb2d80833433ec71bbce7ed0d1d7dc814da..18df7279c55726de316fc01727660f4858428cdf 100755
(executable)
--- 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 []