diff options
Diffstat (limited to 'Mailman/bin/post.py')
| -rw-r--r-- | Mailman/bin/post.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/bin/post.py b/Mailman/bin/post.py index 86e4f7f9b..d1c1204df 100644 --- a/Mailman/bin/post.py +++ b/Mailman/bin/post.py @@ -31,9 +31,9 @@ import logging from Mailman import Utils from Mailman import loginit -from Mailman.Queue.sbcache import get_switchboard from Mailman.configuration import config from Mailman.i18n import _ +from Mailman.queue import Switchboard __i18n_templates__ = True @@ -62,7 +62,7 @@ def main(): # some MTAs have a hard limit to the time a filter prog can run. Postfix # is a good example; if the limit is hit, the proc is SIGKILL'd giving us # no chance to save the message. - inq = get_switchboard(config.INQUEUE_DIR) + inq = Switchboard(config.INQUEUE_DIR) inq.enqueue(sys.stdin.read(), listname=listname, tolist=True, _plaintext=True) |
