summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/Sendmail.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Handlers/Sendmail.py')
-rw-r--r--Mailman/Handlers/Sendmail.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Handlers/Sendmail.py b/Mailman/Handlers/Sendmail.py
index b2c133489..48c90a678 100644
--- a/Mailman/Handlers/Sendmail.py
+++ b/Mailman/Handlers/Sendmail.py
@@ -32,8 +32,8 @@ it's not recommended either -- use the SMTPDirect delivery module instead.
import string
import os
-import HandlerAPI
from Mailman import mm_cfg
+from Mailman import Errors
from Mailman.Logging.Syslog import syslog
MAX_CMDLINE = 3000
@@ -98,4 +98,4 @@ def process(mlist, msg, msgdata):
(mlist.internal_name(), msg.GetSender(), len(msg.body)))
if failedrecips:
msgdata['recips'] = failedrecips
- raise HandlerAPI.SomeRecipientsFailed
+ raise Errors.SomeRecipientsFailed