summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/to_outgoing.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/handlers/to_outgoing.py')
-rw-r--r--src/mailman/handlers/to_outgoing.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mailman/handlers/to_outgoing.py b/src/mailman/handlers/to_outgoing.py
index 6dfbe88c0..95686d9c7 100644
--- a/src/mailman/handlers/to_outgoing.py
+++ b/src/mailman/handlers/to_outgoing.py
@@ -22,19 +22,15 @@ posted to the list membership. Anything else that needs to go out to some
recipient should just be placed in the out queue directly.
"""
-from __future__ import absolute_import, print_function, unicode_literals
-
-__metaclass__ = type
__all__ = [
'ToOutgoing',
]
-from zope.interface import implementer
-
from mailman.config import config
from mailman.core.i18n import _
from mailman.interfaces.handler import IHandler
+from zope.interface import implementer
@@ -47,5 +43,4 @@ class ToOutgoing:
def process(self, mlist, msg, msgdata):
"""See `IHandler`."""
- config.switchboards['out'].enqueue(
- msg, msgdata, listname=mlist.fqdn_listname)
+ config.switchboards['out'].enqueue(msg, msgdata, listid=mlist.list_id)