> Well, try to have something to do ;-)

For example, one thing to do was to read the code.

/usr/local/mailman/cron/checkdbs
********************************
        try:
            count = mlist.NumRequestsPending()
            # While we're at it, let's evict yesterday's autoresponse data
            midnightToday = Utils.midnight()
            evictions = []
            for sender in mlist.hold_and_cmd_autoresponses.keys():
-                date, count = mlist.hold_and_cmd_autoresponses[sender]
+                date, xxxxx = mlist.hold_and_cmd_autoresponses[sender]

We don't need the 'count = mlist.NumRequestsPending()' to be polluted by the
'count' of line 52. I've put xxxxx in place of 'count', and the bug
disappears. Sure Barry will find something better than xxxx ;)

-- Fil



_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman-21/listinfo/mailman-developers

Reply via email to