------------------------------------------------------------
revno: 1333
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Tue 2011-11-29 16:48:10 -0800
message:
A held message with a null sender caused a crash in the admindb
interface. This is fixed by changing the sender to <missing>.
Bug #897103.
modified:
Mailman/ListAdmin.py*
NEWS
--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1
Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/ListAdmin.py' (properties changed: -x to +x)
--- Mailman/ListAdmin.py 2009-12-04 22:25:28 +0000
+++ Mailman/ListAdmin.py 2011-11-30 00:48:10 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2011 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
@@ -221,6 +221,8 @@
# an additional dictionary of message metadata
#
msgsubject = msg.get('subject', _('(no subject)'))
+ if not sender:
+ sender = _('<missing>')
data = time.time(), sender, msgsubject, reason, filename, msgdata
self.__db[id] = (HELDMSG, data)
return id
=== modified file 'NEWS'
--- NEWS 2011-11-27 16:30:08 +0000
+++ NEWS 2011-11-30 00:48:10 +0000
@@ -73,6 +73,10 @@
Bug Fixes and other patches
+ - A held message with a null sender caused a crash in the admindb
+ interface. This is fixed by changing the sender to <missing>.
+ Bug #897103.
+
- Changed subject prefixing to allow for possible whitespace between an
'Re' and the following colon when determining how to add the prefix.
Bug #893290.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org