aboutsummaryrefslogtreecommitdiffstats
path: root/cron/checkdbs
diff options
context:
space:
mode:
authortkikuchi <>2004-10-10 11:29:55 +0000
committertkikuchi <>2004-10-10 11:29:55 +0000
commit094f0bf75123ad379bf546708e22367ce4bb1be2 (patch)
tree997a65fb532636f7cbba4a3a86d4e154c68a8f9f /cron/checkdbs
parent76081b2566d1e183e2a325af8a5457553c687a12 (diff)
downloadmailman2-094f0bf75123ad379bf546708e22367ce4bb1be2.tar.gz
mailman2-094f0bf75123ad379bf546708e22367ce4bb1be2.tar.xz
mailman2-094f0bf75123ad379bf546708e22367ce4bb1be2.zip
fix notify message subject.
Diffstat (limited to 'cron/checkdbs')
-rwxr-xr-xcron/checkdbs8
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 = []