summaryrefslogtreecommitdiff
path: root/Mailman/Bouncers/BouncerAPI.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Bouncers/BouncerAPI.py')
-rw-r--r--Mailman/Bouncers/BouncerAPI.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/Mailman/Bouncers/BouncerAPI.py b/Mailman/Bouncers/BouncerAPI.py
index e19c53f7e..2684af6b5 100644
--- a/Mailman/Bouncers/BouncerAPI.py
+++ b/Mailman/Bouncers/BouncerAPI.py
@@ -20,20 +20,15 @@
This module can also be used as the basis for a bounce detection testing
framework. When run as a script, it expects two arguments, the listname and
the filename containing the bounce message.
-
"""
import sys
-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()
+Stop = object()
BOUNCE_PIPELINE = [