diff options
Diffstat (limited to 'src/mailman/chains/hold.py')
| -rw-r--r-- | src/mailman/chains/hold.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman/chains/hold.py b/src/mailman/chains/hold.py index f5ff237d9..00dd9cf4b 100644 --- a/src/mailman/chains/hold.py +++ b/src/mailman/chains/hold.py @@ -1,4 +1,4 @@ -# Copyright (C) 2007-2010 by the Free Software Foundation, Inc. +# Copyright (C) 2007-2011 by the Free Software Foundation, Inc. # # This file is part of GNU Mailman. # @@ -102,16 +102,16 @@ def autorespond_to_sender(mlist, sender, lang=None): log.info('hold autoresponse limit hit: %s', sender) response_set.response_sent(address, Response.hold) # Send this notification message instead. - text = Utils.maketext( + text = maketext( 'nomoretoday.txt', {'sender' : sender, 'listname': mlist.fqdn_listname, - 'num' : count, + 'num' : todays_count, 'owneremail': mlist.owner_address, }, lang=lang) with _.using(lang.code): - msg = Message.UserNotification( + msg = UserNotification( sender, mlist.owner_address, _('Last autoresponse notification for today'), text, lang=lang) |
