diff options
author | tkikuchi <> | 2004-10-09 02:02:14 +0000 |
---|---|---|
committer | tkikuchi <> | 2004-10-09 02:02:14 +0000 |
commit | c4a3e8e0b833d51da0d5e1b19a3eab0d3805ec5d (patch) | |
tree | ba06b8dc5a4f28b58741d84e77121f87fbb05b3c /Mailman/Handlers | |
parent | 1e0d89ace5d3dbf34e0669364ba4b6d6fe455c8a (diff) | |
download | mailman2-c4a3e8e0b833d51da0d5e1b19a3eab0d3805ec5d.tar.gz mailman2-c4a3e8e0b833d51da0d5e1b19a3eab0d3805ec5d.tar.xz mailman2-c4a3e8e0b833d51da0d5e1b19a3eab0d3805ec5d.zip |
[ 1025372 ] empty Cc:
Diffstat (limited to 'Mailman/Handlers')
-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()]) |