summaryrefslogtreecommitdiff
path: root/Mailman/Bouncer.py
diff options
context:
space:
mode:
authorbwarsaw2002-05-07 02:47:08 +0000
committerbwarsaw2002-05-07 02:47:08 +0000
commitcec13d48d3e1fcb12977e041e7ce85b9f18dce1c (patch)
tree4a452d065ed803ff13e36a64693d18782f1940dc /Mailman/Bouncer.py
parentbfe5b15636cefe8399ecfb715e9cec4084e3df64 (diff)
downloadmailman-cec13d48d3e1fcb12977e041e7ce85b9f18dce1c.tar.gz
mailman-cec13d48d3e1fcb12977e041e7ce85b9f18dce1c.tar.zst
mailman-cec13d48d3e1fcb12977e041e7ce85b9f18dce1c.zip
registerBounce(): Reset the bounce info if it isn't an instance of a
_BounceInfo class.
Diffstat (limited to 'Mailman/Bouncer.py')
-rw-r--r--Mailman/Bouncer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Bouncer.py b/Mailman/Bouncer.py
index fdf831ab5..621e9fdfd 100644
--- a/Mailman/Bouncer.py
+++ b/Mailman/Bouncer.py
@@ -97,7 +97,7 @@ class Bouncer:
return
info = self.getBounceInfo(member)
today = time.localtime()[:3]
- if info is None:
+ if not isinstance(info, _BounceInfo):
# This is the first bounce we've seen from this member
cookie = Pending.new(Pending.RE_ENABLE, self.internal_name(),
member)