diff options
Diffstat (limited to 'Mailman')
-rw-r--r-- | Mailman/versions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/versions.py b/Mailman/versions.py index eff8ffdb..8a9887b6 100644 --- a/Mailman/versions.py +++ b/Mailman/versions.py @@ -483,10 +483,11 @@ def NewRequestsDatabase(l): # blow away the original timestamp and request id. This means the # request will live a little longer than it possibly should have, # but that's no big deal. + import email for p in v: author, text = p[2] reason = p[3] - msg = Message.OutgoingMessage(text) + msg = email.message_from_string(text, Message.Message) l.HoldMessage(msg, reason) del r[k] elif k == 'add_member': |