summaryrefslogtreecommitdiff
path: root/src/mailman/pipeline/calculate_recipients.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-04-10 18:03:37 -0400
committerBarry Warsaw2011-04-10 18:03:37 -0400
commit37038a683cd909438a6dee43beb9b258ef4e4313 (patch)
treedf50eabfcc890f01203d90c453dc1b1dbde65d2c /src/mailman/pipeline/calculate_recipients.py
parentcce9729cac32b6c5fe2acc77b2bfb6b7c545711f (diff)
parentef3a4a87e2c0f4b640e31afc4828d2edbd005846 (diff)
downloadmailman-37038a683cd909438a6dee43beb9b258ef4e4313.tar.gz
mailman-37038a683cd909438a6dee43beb9b258ef4e4313.tar.zst
mailman-37038a683cd909438a6dee43beb9b258ef4e4313.zip
Trunk merge
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