aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2007-10-04 18:35:10 -0700
committerMark Sapiro <msapiro@value.net>2007-10-04 18:35:10 -0700
commit3528bd1bc8995c31efd6863bdc70d37fa23a31b1 (patch)
tree6ffa639850fddb0be9a03c78d65388546e1e0a90
parent7678305d8118c9839ad67624c203426c4dc384f2 (diff)
downloadmailman2-3528bd1bc8995c31efd6863bdc70d37fa23a31b1.tar.gz
mailman2-3528bd1bc8995c31efd6863bdc70d37fa23a31b1.tar.xz
mailman2-3528bd1bc8995c31efd6863bdc70d37fa23a31b1.zip
/cygdrive/c/MM_bzr/log.txt
-rw-r--r--Mailman/versions.py3
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':