diff options
author | tkikuchi <> | 2004-10-10 11:29:55 +0000 |
---|---|---|
committer | tkikuchi <> | 2004-10-10 11:29:55 +0000 |
commit | 094f0bf75123ad379bf546708e22367ce4bb1be2 (patch) | |
tree | 997a65fb532636f7cbba4a3a86d4e154c68a8f9f | |
parent | 76081b2566d1e183e2a325af8a5457553c687a12 (diff) | |
download | mailman2-094f0bf75123ad379bf546708e22367ce4bb1be2.tar.gz mailman2-094f0bf75123ad379bf546708e22367ce4bb1be2.tar.xz mailman2-094f0bf75123ad379bf546708e22367ce4bb1be2.zip |
fix notify message subject.
Diffstat (limited to '')
-rwxr-xr-x | cron/checkdbs | 8 |
1 files 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 = [] |