From c3e4b05865081f9bf665131daa002f085cbff76e Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Sun, 29 Jul 2001 21:25:21 +0000 Subject: hold_for_approval(): Another step towards conversion to MemberAdaptor API. GetPreferredLanguage() -> getMemberLanguage() --- 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 28c2810b3..f831325a3 100644 --- a/Mailman/Handlers/Hold.py +++ b/Mailman/Handlers/Hold.py @@ -249,7 +249,7 @@ def hold_for_approval(mlist, msg, msgdata, exc): # This message should appear to come from -admin so as to handle any # bounce processing that might be needed. if not fromusenet and not mlist.dont_respond_to_post_requests: - lang = msgdata.get('lang', mlist.GetPreferredLanguage(sender)) + lang = msgdata.get('lang', mlist.getMemberLanguage(sender)) subject = _('Your message to %(listname)s awaits moderator approval') text = Utils.maketext('postheld.txt', d, lang=lang, mlist=mlist) msg = Message.UserNotification(sender, adminaddr, subject, text) -- cgit v1.3.1