diff options
Diffstat (limited to 'Mailman/Handlers/ToArchive.py')
| -rw-r--r-- | Mailman/Handlers/ToArchive.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Mailman/Handlers/ToArchive.py b/Mailman/Handlers/ToArchive.py index 424bf305e..694c3b66e 100644 --- a/Mailman/Handlers/ToArchive.py +++ b/Mailman/Handlers/ToArchive.py @@ -17,13 +17,12 @@ """Add the message to the archives.""" import string -from Mailman import mm_cfg -def process(mlist, msg): +def process(mlist, msg, msgdata): # short circuits - if getattr(msg, 'isdigest', 0) or not mlist.archive: + if msgdata.get('isdigest') or not mlist.archive: return archivep = msg.getheader('x-archive') if archivep and string.lower(archivep) == 'no': |
