summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-10-09 21:34:59 +0000
committerbwarsaw2001-10-09 21:34:59 +0000
commit0409119d44f36229c63b0be08baa9962f279b6bb (patch)
treeea1c89c9517dcc3d4649f088318c0990d408564b
parent8934271ae10c55826b02e8d2c987fe2e171e2bf3 (diff)
downloadmailman-0409119d44f36229c63b0be08baa9962f279b6bb.tar.gz
mailman-0409119d44f36229c63b0be08baa9962f279b6bb.tar.zst
mailman-0409119d44f36229c63b0be08baa9962f279b6bb.zip
Add a useful comment about what the Stop is for.
-rw-r--r--Mailman/Bouncers/BouncerAPI.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mailman/Bouncers/BouncerAPI.py b/Mailman/Bouncers/BouncerAPI.py
index 6b5fafc00..894f2c805 100644
--- a/Mailman/Bouncers/BouncerAPI.py
+++ b/Mailman/Bouncers/BouncerAPI.py
@@ -33,6 +33,10 @@ if __name__ == '__main__':
from Mailman.Logging.Syslog import syslog
+# If a bounce detector returns Stop, that means to just discard the message.
+# An example is warning messages for temporary delivery problems. These
+# shouldn't trigger a bounce notification, but we also don't want to send them
+# on to the list administrator.
class _Stop:
pass
Stop = _Stop()