diff options
Diffstat (limited to 'Mailman/Message.py')
| -rw-r--r-- | Mailman/Message.py | 5 |
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) |
