From 2885db8638f285e702b160ff6e94e1d7d421d73c Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Wed, 28 Feb 2001 17:22:34 +0000 Subject: hold_for_approval(): Fix the Utils.maketext() calls to pass the language in as a keyword argument. --- Mailman/Handlers/Hold.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mailman/Handlers/Hold.py b/Mailman/Handlers/Hold.py index 6e64f98a0..f86036048 100644 --- a/Mailman/Handlers/Hold.py +++ b/Mailman/Handlers/Hold.py @@ -252,7 +252,7 @@ def hold_for_approval(mlist, msg, msgdata, exc): subject = _('Your message to %(listname)s awaits moderator approval') d['reason'] = str(exc) d['subject'] = usersubject - text = Utils.maketext('postheld.txt', d, pluser) + text = Utils.maketext('postheld.txt', d, lang=pluser) msg = Message.UserNotification(sender, adminaddr, subject, text) msg.send(mlist) # Log the held message -- cgit v1.3.1