diff options
| author | bwarsaw | 2000-05-08 17:28:19 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-05-08 17:28:19 +0000 |
| commit | 58a17b9f5a8763c1ea9224ee4e7c72c3e11e4197 (patch) | |
| tree | ba0d2fb11ee5fe6b58ab6ad6c1ca8f724daca964 /Mailman/Handlers/CalcRecips.py | |
| parent | c6096572df688db5ad73ad74f8500de2a44cd899 (diff) | |
| download | mailman-58a17b9f5a8763c1ea9224ee4e7c72c3e11e4197.tar.gz mailman-58a17b9f5a8763c1ea9224ee4e7c72c3e11e4197.tar.zst mailman-58a17b9f5a8763c1ea9224ee4e7c72c3e11e4197.zip | |
Diffstat (limited to 'Mailman/Handlers/CalcRecips.py')
| -rw-r--r-- | Mailman/Handlers/CalcRecips.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Mailman/Handlers/CalcRecips.py b/Mailman/Handlers/CalcRecips.py index 26f0d059c..34520f186 100644 --- a/Mailman/Handlers/CalcRecips.py +++ b/Mailman/Handlers/CalcRecips.py @@ -27,10 +27,10 @@ from Mailman import mm_cfg -def process(mlist, msg): - # yes, short circuit if the message object already has a recipients - # attribute, regardless of whether the list is empty or not. - if hasattr(msg, 'recips'): +def process(mlist, msg, msgdata): + # Short circuit if we've already calculated the recipients list, + # regardless of whether the list is empty or not. + if msgdata.has_key('recips'): return dont_send_to_sender = 0 # Get the membership address of the sender, if a member. Then get the @@ -53,4 +53,4 @@ def process(mlist, msg): # (not metoo), but delivery to their address is disabled (nomail) pass # bookkeeping - msg.recips = recips + msgdata['recips'] = recips |
