summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/ToOutgoing.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Handlers/ToOutgoing.py')
-rw-r--r--Mailman/Handlers/ToOutgoing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Handlers/ToOutgoing.py b/Mailman/Handlers/ToOutgoing.py
index ff263e9a3..15ceb8311 100644
--- a/Mailman/Handlers/ToOutgoing.py
+++ b/Mailman/Handlers/ToOutgoing.py
@@ -22,8 +22,8 @@ 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 Mailman.Queue.sbcache import get_switchboard
from Mailman.configuration import config
+from Mailman.queue import Switchboard
@@ -52,5 +52,5 @@ def process(mlist, msg, msgdata):
# VERP every `interval' number of times
msgdata['verp'] = not (int(mlist.post_id) % interval)
# And now drop the message in qfiles/out
- outq = get_switchboard(config.OUTQUEUE_DIR)
+ outq = Switchboard(config.OUTQUEUE_DIR)
outq.enqueue(msg, msgdata, listname=mlist.fqdn_listname)