[ mailman-Bugs-1028975 ] checkdbs remainders for not existing
requests
SourceForge.net
noreply at sourceforge.net
Thu Sep 16 06:40:35 CEST 2004
Bugs item #1028975, was opened at 2004-09-16 06:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
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(
----------------------------------------------------------------------
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