summaryrefslogtreecommitdiff
path: root/mailman/queue/outgoing.py
diff options
context:
space:
mode:
authorBarry Warsaw2008-09-26 21:11:51 -0400
committerBarry Warsaw2008-09-26 21:11:51 -0400
commitb6eff15e7d34e60e0fa9f13b5e944d73bf499414 (patch)
tree31dc0a415cf454740f1cb2c02b35a341889bb28c /mailman/queue/outgoing.py
parent6f4351721559e8b7b577d3a01216fec88121ed11 (diff)
downloadmailman-b6eff15e7d34e60e0fa9f13b5e944d73bf499414.tar.gz
mailman-b6eff15e7d34e60e0fa9f13b5e944d73bf499414.tar.zst
mailman-b6eff15e7d34e60e0fa9f13b5e944d73bf499414.zip
Diffstat (limited to 'mailman/queue/outgoing.py')
-rw-r--r--mailman/queue/outgoing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailman/queue/outgoing.py b/mailman/queue/outgoing.py
index 42b2d71db..624368930 100644
--- a/mailman/queue/outgoing.py
+++ b/mailman/queue/outgoing.py
@@ -26,9 +26,9 @@ import logging
from datetime import datetime
-from mailman import Errors
from mailman import Message
from mailman.configuration import config
+from mailman.core import errors
from mailman.queue import Runner, Switchboard
from mailman.queue.bounce import BounceMixin
@@ -82,7 +82,7 @@ class OutgoingRunner(Runner, BounceMixin):
config.SMTPHOST, port)
self._logged = True
return True
- except Errors.SomeRecipientsFailed, e:
+ except errors.SomeRecipientsFailed, e:
# Handle local rejects of probe messages differently.
if msgdata.get('probe_token') and e.permfailures:
self._probe_bounce(mlist, msgdata['probe_token'])