[ mailman-Bugs-1028975 ] checkdbs remainders for not existing requests

SourceForge.net noreply at sourceforge.net
Sun Sep 19 11:27:29 CEST 2004


Bugs item #1028975, was opened at 2004-09-16 04:40
Message generated for change (Comment added) made by tkikuchi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1028975&group_id=103

Category: command line scripts
Group: 2.1 (stable)
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Alberto Marconi (albertomarconi)
Assigned to: Nobody/Anonymous (nobody)
Summary: checkdbs remainders for not existing requests

Initial Comment:
checkdbs sends remainders to list owners concerning 
pending requests which do not exist.

It happens on new lists which are missing the 
request.pck file.

The count of the pending requests is -1.

The NumRequestsPending() function returns -1 if the 
request.pck file is missing.

The following patch correct this problem:

--- checkdbs.orig       2004-09-13 18:36:31.000000000 
+0200
+++ checkdbs    2004-09-16 05:33:27.000000000 +0200
@@ -96,7 +96,7 @@
                     del mlist.hold_and_cmd_autoresponses
[sender]
                 # Only here have we changed the list's 
database
                 mlist.Save()
-            if count:
+            if count > 0:
                 i18n.set_language(mlist.preferred_language)
                 realname = mlist.real_name
                 text = Utils.maketext(


----------------------------------------------------------------------

>Comment By: Tokio Kikuchi (tkikuchi)
Date: 2004-09-19 09:27

Message:
Logged In: YES 
user_id=67709

see
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.038.htp

this is fixed in CVS.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1028975&group_id=103


More information about the Mailman-coders mailing list