summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2000-06-20 05:32:50 +0000
committerbwarsaw2000-06-20 05:32:50 +0000
commit28ab8135e6b08010f84ecb554cae162ac46bc785 (patch)
tree52b74e89a7bd09d2a7a6f10d0751da9b9e8b4c11
parent7e349b6adf59d8ce080f5ed7813838dc6dd9a4ac (diff)
downloadmailman-28ab8135e6b08010f84ecb554cae162ac46bc785.tar.gz
mailman-28ab8135e6b08010f84ecb554cae162ac46bc785.tar.zst
mailman-28ab8135e6b08010f84ecb554cae162ac46bc785.zip
-rw-r--r--Mailman/Message.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mailman/Message.py b/Mailman/Message.py
index c309d81b9..f58d06318 100644
--- a/Mailman/Message.py
+++ b/Mailman/Message.py
@@ -160,6 +160,11 @@ class Message(rfc822.Message):
# Merge in the additional msgdata
msgdata.update(newdata)
msgdata.update(kws)
+ # Get rid of volatile entries, which have the convention of starting
+ # with an underscore (TBD: should we use v_ as a naming convention?)
+ for k in msgdata.keys():
+ if k[0] == '_':
+ del msgdata[k]
# Write the data file
dbfp = Utils.open_ex(dbfile, 'w')
marshal.dump(msgdata, dbfp)