diff options
Diffstat (limited to 'Mailman/bin/join.py')
| -rw-r--r-- | Mailman/bin/join.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/bin/join.py b/Mailman/bin/join.py index 2ea07419c..a3b5183ee 100644 --- a/Mailman/bin/join.py +++ b/Mailman/bin/join.py @@ -28,8 +28,8 @@ import logging from Mailman import Utils from Mailman import loginit -from Mailman import mm_cfg from Mailman.Queue.sbcache import get_switchboard +from Mailman.configuration import config from Mailman.i18n import _ __i18n_templates__ = True @@ -37,6 +37,7 @@ __i18n_templates__ = True def main(): + config.load() # Setup logging to stderr stream and error log. loginit.initialize(propagate=True) log = logging.getLogger('mailman.error') @@ -54,7 +55,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. - cmdq = get_switchboard(mm_cfg.CMDQUEUE_DIR) + cmdq = get_switchboard(config.CMDQUEUE_DIR) cmdq.enqueue(sys.stdin.read(), listname=listname, tojoin=True, _plaintext=True) |
