From af67970b37a00941d532de574d0cd9c05b207d69 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 29 Sep 2008 21:48:19 -0400 Subject: More clean up. - Remove Utils.reap() - Flesh out interfaces. - PEP 8 names. --- mailman/queue/bounce.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'mailman/queue/bounce.py') diff --git a/mailman/queue/bounce.py b/mailman/queue/bounce.py index cfd86be60..0c5788174 100644 --- a/mailman/queue/bounce.py +++ b/mailman/queue/bounce.py @@ -51,7 +51,7 @@ class BounceMixin: # # today is itself a 3-tuple of (year, month, day) # - # Every once in a while (see _doperiodic()), the bounce runner cracks + # Every once in a while (see _do_periodic()), the bounce runner cracks # open the file, reads all the records and registers all the bounces. # Then it truncates the file and continues on. We don't need to lock # the bounce event file because bounce qrunners are single threaded @@ -123,11 +123,11 @@ class BounceMixin: os.unlink(self._bounce_events_file) self._bouncecnt = 0 - def _cleanup(self): + def _clean_up(self): if self._bouncecnt > 0: self._register_bounces() - def _doperiodic(self): + def _do_periodic(self): now = datetime.datetime.now() if self._nextaction > now or self._bouncecnt == 0: return @@ -218,11 +218,11 @@ class BounceRunner(Runner, BounceMixin): addrs = filter(None, addrs) self._queue_bounces(mlist.fqdn_listname, addrs, msg) - _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) -- cgit v1.2.3-70-g09d2