summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/Sendmail.py
diff options
context:
space:
mode:
authorbwarsaw2001-02-15 04:43:30 +0000
committerbwarsaw2001-02-15 04:43:30 +0000
commit6aa7247ab3274044022d56b6b38a77305d858fd9 (patch)
tree8c831309abd5737fda0a7e30c933cac6646deb38 /Mailman/Handlers/Sendmail.py
parent310b234d16702b2254bb96b6302b07bfbd97446a (diff)
downloadmailman-6aa7247ab3274044022d56b6b38a77305d858fd9.tar.gz
mailman-6aa7247ab3274044022d56b6b38a77305d858fd9.tar.zst
mailman-6aa7247ab3274044022d56b6b38a77305d858fd9.zip
Conversion to mimelib.
De-string-module-ify Other Python 2.0 constructs used where appropriate. Get rid of HandlerAPI references -- this module is obsolete.
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