diff options
| author | Barry Warsaw | 2008-09-26 21:11:51 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2008-09-26 21:11:51 -0400 |
| commit | b6eff15e7d34e60e0fa9f13b5e944d73bf499414 (patch) | |
| tree | 31dc0a415cf454740f1cb2c02b35a341889bb28c /mailman/pipeline/calculate_recipients.py | |
| parent | 6f4351721559e8b7b577d3a01216fec88121ed11 (diff) | |
| download | mailman-b6eff15e7d34e60e0fa9f13b5e944d73bf499414.tar.gz mailman-b6eff15e7d34e60e0fa9f13b5e944d73bf499414.tar.zst mailman-b6eff15e7d34e60e0fa9f13b5e944d73bf499414.zip | |
Diffstat (limited to 'mailman/pipeline/calculate_recipients.py')
| -rw-r--r-- | mailman/pipeline/calculate_recipients.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mailman/pipeline/calculate_recipients.py b/mailman/pipeline/calculate_recipients.py index a7e5f1521..f892435cd 100644 --- a/mailman/pipeline/calculate_recipients.py +++ b/mailman/pipeline/calculate_recipients.py @@ -28,10 +28,10 @@ __all__ = ['CalculateRecipients'] from zope.interface import implements -from mailman import Errors from mailman import Message from mailman import Utils from mailman.configuration import config +from mailman.core import errors from mailman.i18n import _ from mailman.interfaces import DeliveryStatus, IHandler @@ -83,7 +83,7 @@ class CalculateRecipients: Your urgent message to the %(realname)s 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, Utils.wrap(text) # Calculate the regular recipients of the message recips = set(member.address.address for member in mlist.regular_members.members |
