summaryrefslogtreecommitdiff
path: root/src/mailman/pipeline/replybot.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-03-17 16:33:35 -0400
committerBarry Warsaw2011-03-17 16:33:35 -0400
commit4a8a833f14d93a9916e5b2181fdfff24ffd57477 (patch)
tree6cdb98233fecee5e351bc2e593ab6cc7e145205c /src/mailman/pipeline/replybot.py
parent7c1ac388926288a3b098705e3aadee333128ae51 (diff)
downloadmailman-4a8a833f14d93a9916e5b2181fdfff24ffd57477.tar.gz
mailman-4a8a833f14d93a9916e5b2181fdfff24ffd57477.tar.zst
mailman-4a8a833f14d93a9916e5b2181fdfff24ffd57477.zip
Diffstat (limited to 'src/mailman/pipeline/replybot.py')
-rw-r--r--src/mailman/pipeline/replybot.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mailman/pipeline/replybot.py b/src/mailman/pipeline/replybot.py
index 5f17160c1..dffffbf47 100644
--- a/src/mailman/pipeline/replybot.py
+++ b/src/mailman/pipeline/replybot.py
@@ -30,7 +30,6 @@ import logging
from zope.component import getUtility
from zope.interface import implements
-from mailman import Utils
from mailman.core.i18n import _
from mailman.email.message import UserNotification
from mailman.interfaces.autorespond import (
@@ -38,7 +37,7 @@ from mailman.interfaces.autorespond import (
from mailman.interfaces.handler import IHandler
from mailman.interfaces.usermanager import IUserManager
from mailman.utilities.datetime import today
-from mailman.utilities.string import expand
+from mailman.utilities.string import expand, wrap
log = logging.getLogger('mailman.error')
@@ -113,7 +112,7 @@ class Replybot:
owneremail = mlist.owner_address,
)
# Interpolation and Wrap the response text.
- text = Utils.wrap(expand(response_text, d))
+ text = wrap(expand(response_text, d))
outmsg = UserNotification(msg.sender, mlist.bounces_address,
subject, text, mlist.preferred_language)
outmsg['X-Mailer'] = _('The Mailman Replybot')