summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/ToArchive.py
diff options
context:
space:
mode:
authorbwarsaw2000-10-06 21:02:14 +0000
committerbwarsaw2000-10-06 21:02:14 +0000
commit266b1d276994ae3738d31048e98b70cc291a0e7e (patch)
tree346666ca13f88da17253b90efc856eddc2d18b04 /Mailman/Handlers/ToArchive.py
parentbe46484eb70e31020751b43051e1738fb5817865 (diff)
downloadmailman-266b1d276994ae3738d31048e98b70cc291a0e7e.tar.gz
mailman-266b1d276994ae3738d31048e98b70cc291a0e7e.tar.zst
mailman-266b1d276994ae3738d31048e98b70cc291a0e7e.zip
Diffstat (limited to 'Mailman/Handlers/ToArchive.py')
-rw-r--r--Mailman/Handlers/ToArchive.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Handlers/ToArchive.py b/Mailman/Handlers/ToArchive.py
index 7f92a0c59..05ad920cd 100644
--- a/Mailman/Handlers/ToArchive.py
+++ b/Mailman/Handlers/ToArchive.py
@@ -49,4 +49,5 @@ def process(mlist, msg, msgdata):
mlist.ArchiveMail(msg, msgdata)
finally:
# Restore the original date
- msg['Date'] = date
+ if date is not None:
+ msg['Date'] = date