diff options
| author | Barry Warsaw | 2009-11-01 22:52:14 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-11-01 22:52:14 -0500 |
| commit | c9d9f209a26f64bb54ec6e31b9c2d5a8d030b8e0 (patch) | |
| tree | 7f1216c604339901824f02f767995504dd024dc0 /src/mailman/pipeline/avoid_duplicates.py | |
| parent | d49e812a80fadbd04c377c1954fb99b3d99f95ca (diff) | |
| download | mailman-c9d9f209a26f64bb54ec6e31b9c2d5a8d030b8e0.tar.gz mailman-c9d9f209a26f64bb54ec6e31b9c2d5a8d030b8e0.tar.zst mailman-c9d9f209a26f64bb54ec6e31b9c2d5a8d030b8e0.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'] |
