aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/versions.py
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2007-10-04 19:50:56 -0700
committerMark Sapiro <msapiro@value.net>2007-10-04 19:50:56 -0700
commiteaa5edc3b9319c5d3d89abbd44edd27b70678ee7 (patch)
treeefaeff302f14cfe56f68626d5a8cb93815cc6684 /Mailman/versions.py
parent6789acf6fcc94a2998dda7b4665659bf53749b66 (diff)
downloadmailman2-eaa5edc3b9319c5d3d89abbd44edd27b70678ee7.tar.gz
mailman2-eaa5edc3b9319c5d3d89abbd44edd27b70678ee7.tar.xz
mailman2-eaa5edc3b9319c5d3d89abbd44edd27b70678ee7.zip
In rare cases, versions.py can encounter a very old list with held posts in
its requests dictionary. It then tries to create a Message.OutgoingMessage object from the message text, but that class no longer exists. Fixed by using email.message_from_string() instead.
Diffstat (limited to 'Mailman/versions.py')
-rw-r--r--Mailman/versions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/versions.py b/Mailman/versions.py
index 8a9887b6..cffe5c6a 100644
--- a/Mailman/versions.py
+++ b/Mailman/versions.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2005 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2007 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License