On Tue, Oct 12, 2004 at 09:44:39PM -0400, David Relson wrote:
> I've noticed a minor problem with mailman 2.1.5.  
>[...] 
> Occasionally, I will use the "you can view all messages from
> [EMAIL PROTECTED]" link.  If I click on "Discard all messages marked
> Defer", the message isn't discarded.

Thanks for the report.  Here is one way to fix it:

--- Mailman/Cgi/admindb-2.1.5.py        2004-05-01 01:50:42.000000000 +0900
+++ Mailman/Cgi/admindb.py      2004-12-07 17:47:35.832656288 +0900
@@ -757,6 +757,8 @@
                      mm_cfg.DISCARD, mm_cfg.SUBSCRIBE, mm_cfg.UNSUBSCRIBE,
                      mm_cfg.ACCEPT, mm_cfg.HOLD):
             continue
+       if v == mm_cfg.DEFER and discardalldefersp:
+           v = mm_cfg.DISCARD
         # Get the action comment and reasons if present.
         commentkey = 'comment-%d' % request_id
         preservekey = 'preserve-%d' % request_id

You can get the patch file from:
<https://sourceforge.net/tracker/index.php?func=detail&aid=1080477&group_id=103&atid=300103>


-- 
Jim Tittsler             http://www.OnJapan.net/      GPG: 0x01159DB6
Python Starship          http://Starship.Python.net/
Ringo MUG Tokyo          http://www.ringo.net/rss.html

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to