From 094f0bf75123ad379bf546708e22367ce4bb1be2 Mon Sep 17 00:00:00 2001 From: tkikuchi <> Date: Sun, 10 Oct 2004 11:29:55 +0000 Subject: fix notify message subject. --- cron/checkdbs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cron/checkdbs b/cron/checkdbs index e2b2ebfd..c31da397 100755 --- a/cron/checkdbs +++ b/cron/checkdbs @@ -117,8 +117,11 @@ def main(): 'real_name': realname, }, mlist=mlist) text += '\n' + pending_requests(mlist) - subject = _( - '%(realname)s moderator requests notice') + subject = _( + '%(count)d %(realname)s moderator request(s) waiting') + else: + subject = _( + '%(realname)s moderator request check result') msg = Message.UserNotification(mlist.GetOwnerEmail(), mlist.GetBouncesEmail(), subject, text, @@ -131,7 +134,6 @@ def main(): def pending_requests(mlist): - lcset = Utils.GetCharSet(mlist.preferred_language) # Must return a byte string lcset = Utils.GetCharSet(mlist.preferred_language) pending = [] -- cgit v1.2.3