summaryrefslogtreecommitdiff
path: root/src/mailman/pipeline/calculate_recipients.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/calculate_recipients.py
parent7c1ac388926288a3b098705e3aadee333128ae51 (diff)
downloadmailman-4a8a833f14d93a9916e5b2181fdfff24ffd57477.tar.gz
mailman-4a8a833f14d93a9916e5b2181fdfff24ffd57477.tar.zst
mailman-4a8a833f14d93a9916e5b2181fdfff24ffd57477.zip
Diffstat (limited to 'src/mailman/pipeline/calculate_recipients.py')
-rw-r--r--src/mailman/pipeline/calculate_recipients.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/pipeline/calculate_recipients.py b/src/mailman/pipeline/calculate_recipients.py
index 36f391fd0..d2527e608 100644
--- a/src/mailman/pipeline/calculate_recipients.py
+++ b/src/mailman/pipeline/calculate_recipients.py
@@ -32,12 +32,12 @@ __all__ = [
from zope.interface import implements
-from mailman import Utils
from mailman.config import config
from mailman.core import errors
from mailman.core.i18n import _
from mailman.interfaces.handler import IHandler
from mailman.interfaces.member import DeliveryStatus
+from mailman.utilities.string import wrap
@@ -89,7 +89,7 @@ class CalculateRecipients:
Your urgent message to the $realname mailing list was not authorized for
delivery. The original message as received by Mailman is attached.
""")
- raise errors.RejectMessage(Utils.wrap(text))
+ raise errors.RejectMessage(wrap(text))
# Calculate the regular recipients of the message
recipients = set(member.address.email
for member in mlist.regular_members.members