diff options
Diffstat (limited to 'Mailman/Handlers/AvoidDuplicates.py')
-rw-r--r-- | Mailman/Handlers/AvoidDuplicates.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Handlers/AvoidDuplicates.py b/Mailman/Handlers/AvoidDuplicates.py index b388a3d8..7bed85b6 100644 --- a/Mailman/Handlers/AvoidDuplicates.py +++ b/Mailman/Handlers/AvoidDuplicates.py @@ -92,4 +92,5 @@ def process(mlist, msg, msgdata): msgdata['recips'] = newrecips # RFC 2822 specifies zero or one CC header del msg['cc'] - msg['Cc'] = COMMASPACE.join([formataddr(i) for i in ccaddrs.values()]) + if ccaddrs: + msg['Cc'] = COMMASPACE.join([formataddr(i) for i in ccaddrs.values()]) |