diff options
| author | Barry Warsaw | 2009-11-02 21:59:27 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-11-02 21:59:27 -0500 |
| commit | f5f8eb69849264e2647c192963b6aeec97dd43ed (patch) | |
| tree | ba95236f769894b593dc9585cdfc2362d0aeb806 /src/mailman/pipeline/avoid_duplicates.py | |
| parent | 9bd005cfcca26b9f02b96bba5076cd9e58421e98 (diff) | |
| parent | 1e8d8bfdb64968763a6a4fbd74ad912eb4c6c0b6 (diff) | |
| download | mailman-f5f8eb69849264e2647c192963b6aeec97dd43ed.tar.gz mailman-f5f8eb69849264e2647c192963b6aeec97dd43ed.tar.zst mailman-f5f8eb69849264e2647c192963b6aeec97dd43ed.zip | |
Diffstat (limited to 'src/mailman/pipeline/avoid_duplicates.py')
| -rw-r--r-- | src/mailman/pipeline/avoid_duplicates.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/pipeline/avoid_duplicates.py b/src/mailman/pipeline/avoid_duplicates.py index 0458e117c..840d5f8b2 100644 --- a/src/mailman/pipeline/avoid_duplicates.py +++ b/src/mailman/pipeline/avoid_duplicates.py @@ -52,7 +52,7 @@ class AvoidDuplicates: def process(self, mlist, msg, msgdata): """See `IHandler`.""" - recips = msgdata.get('recips') + recips = msgdata.get('recipients') # Short circuit if not recips: return @@ -109,7 +109,7 @@ class AvoidDuplicates: # having received this message. newrecips.add(r) # Set the new list of recipients. XXX recips should always be a set. - msgdata['recips'] = list(newrecips) + msgdata['recipients'] = list(newrecips) # RFC 2822 specifies zero or one CC header if cc_addresses: del msg['cc'] |
