summaryrefslogtreecommitdiff
path: root/src/mailman/chains/hold.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/chains/hold.py')
-rw-r--r--src/mailman/chains/hold.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/chains/hold.py b/src/mailman/chains/hold.py
index f5ff237d9..741282d18 100644
--- a/src/mailman/chains/hold.py
+++ b/src/mailman/chains/hold.py
@@ -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)