diff options
| author | Barry Warsaw | 2008-10-06 22:07:04 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2008-10-06 22:07:04 -0400 |
| commit | c7340d712c640fa5992518a7cf16272f634abccc (patch) | |
| tree | 99057710fbc7b92eaa1720daea4c3a6cd5929cf3 /mailman/queue/outgoing.py | |
| parent | 6f4351721559e8b7b577d3a01216fec88121ed11 (diff) | |
| parent | f0c9fad6372a645981b5c72fe02a6ad62f35790f (diff) | |
| download | mailman-c7340d712c640fa5992518a7cf16272f634abccc.tar.gz mailman-c7340d712c640fa5992518a7cf16272f634abccc.tar.zst mailman-c7340d712c640fa5992518a7cf16272f634abccc.zip | |
Diffstat (limited to 'mailman/queue/outgoing.py')
| -rw-r--r-- | mailman/queue/outgoing.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mailman/queue/outgoing.py b/mailman/queue/outgoing.py index 42b2d71db..3ab67eaad 100644 --- a/mailman/queue/outgoing.py +++ b/mailman/queue/outgoing.py @@ -26,14 +26,14 @@ 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 -# This controls how often _doperiodic() will try to deal with deferred -# permanent failures. It is a count of calls to _doperiodic() +# This controls how often _do_periodic() will try to deal with deferred +# permanent failures. It is a count of calls to _do_periodic() DEAL_WITH_PERMFAILURES_EVERY = 10 log = logging.getLogger('mailman.error') @@ -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']) @@ -123,8 +123,8 @@ class OutgoingRunner(Runner, BounceMixin): # We've successfully completed handling of this message return False - _doperiodic = BounceMixin._doperiodic + _do_periodic = BounceMixin._do_periodic - def _cleanup(self): - BounceMixin._cleanup(self) - Runner._cleanup(self) + def _clean_up(self): + BounceMixin._clean_up(self) + Runner._clean_up(self) |
