summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/ToArchive.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Handlers/ToArchive.py')
-rw-r--r--Mailman/Handlers/ToArchive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Handlers/ToArchive.py b/Mailman/Handlers/ToArchive.py
index 5f536b728..1bf10c171 100644
--- a/Mailman/Handlers/ToArchive.py
+++ b/Mailman/Handlers/ToArchive.py
@@ -36,5 +36,5 @@ def process(mlist, msg, msgdata):
# Send the message to the archiver queue
archq = get_switchboard(mm_cfg.ARCHQUEUE_DIR)
# Send the message to the queue
- archq.enqueue(msg, msgdata,
- received_time = time.time())
+ msgdata.setdefault('received_time', time.time())
+ archq.enqueue(msg, msgdata)