diff options
| author | bwarsaw | 2000-06-20 05:32:50 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-06-20 05:32:50 +0000 |
| commit | 28ab8135e6b08010f84ecb554cae162ac46bc785 (patch) | |
| tree | 52b74e89a7bd09d2a7a6f10d0751da9b9e8b4c11 /Mailman/Message.py | |
| parent | 7e349b6adf59d8ce080f5ed7813838dc6dd9a4ac (diff) | |
| download | mailman-28ab8135e6b08010f84ecb554cae162ac46bc785.tar.gz mailman-28ab8135e6b08010f84ecb554cae162ac46bc785.tar.zst mailman-28ab8135e6b08010f84ecb554cae162ac46bc785.zip | |
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) |
