diff options
| author | bwarsaw | 2002-01-15 23:05:32 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-01-15 23:05:32 +0000 |
| commit | c240137df21f63c7872d2c2f364337b4f95f61b9 (patch) | |
| tree | 6a60c3fb3fb99d894d4c215278113704f78a0353 | |
| parent | d11634ca10d8b7c53a933e5a196fb453a6f76701 (diff) | |
| download | mailman-c240137df21f63c7872d2c2f364337b4f95f61b9.tar.gz mailman-c240137df21f63c7872d2c2f364337b4f95f61b9.tar.zst mailman-c240137df21f63c7872d2c2f364337b4f95f61b9.zip | |
| -rw-r--r-- | Mailman/Bouncer.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Mailman/Bouncer.py b/Mailman/Bouncer.py index 64dabb5e6..1b71443a0 100644 --- a/Mailman/Bouncer.py +++ b/Mailman/Bouncer.py @@ -106,7 +106,11 @@ class Bouncer: lastbounce = time.mktime(info.date + (0,) * 6) if lastbounce + self.bounce_info_stale_after < now: # Information is stale, so simply reset it - info = _BounceInfo(member, weight, today, 0) + info.score = weight + info.date = today + info.noticesleft = 0 + info.lastnotice = None + # BAW: The following isn't strictly necessary self.setBounceInfo(member, info) syslog('bounce', '%s: %s has stale bounce info, resetting', self.internal_name(), member) @@ -115,6 +119,7 @@ class Bouncer: # score and take any necessary action. info.score += weight info.date = today + # BAW: The following isn't strictly necessary self.setBounceInfo(member, info) syslog('bounce', '%s: %s current bounce score: %s', member, self.internal_name(), info.score) |
