summaryrefslogtreecommitdiff
path: root/src/mailman/chains/hold.py
diff options
context:
space:
mode:
authorBarry Warsaw2010-10-08 17:17:34 -0400
committerBarry Warsaw2010-10-08 17:17:34 -0400
commit90814a40b82e559ebfa999df2121ba2e8e32500f (patch)
tree072fe79321581fde129cc87e9656da855a42b270 /src/mailman/chains/hold.py
parent3643347f1c8548bc903e4a95a48a926cd07d307d (diff)
downloadmailman-90814a40b82e559ebfa999df2121ba2e8e32500f.tar.gz
mailman-90814a40b82e559ebfa999df2121ba2e8e32500f.tar.zst
mailman-90814a40b82e559ebfa999df2121ba2e8e32500f.zip
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)