From d4de7996e6d4fb5db04dfed3b3fd12747622b164 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 23 Dec 2008 17:33:37 -0500 Subject: Use my lazr.config megamerge branch for now, even though it's still under development. Completely rework the way switchboards and queue runners are initialized, i.e. driven from the configuration file instead of hard coded. The various queue runner directories are no longer available thorugh the config object directly. Get them from config.switchboards. Provide minimal mailman.cfg and testing.cfg configuration files. Neuter styles for now until they can be consolidated with lazr.config. --- mailman/queue/docs/archiver.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mailman/queue/docs') diff --git a/mailman/queue/docs/archiver.txt b/mailman/queue/docs/archiver.txt index 98ead0aa7..ed7c26d45 100644 --- a/mailman/queue/docs/archiver.txt +++ b/mailman/queue/docs/archiver.txt @@ -18,8 +18,7 @@ interface. By default, there's a Pipermail archiver. ... First post! ... """) - >>> from mailman.queue import Switchboard - >>> archiver_queue = Switchboard(config.ARCHQUEUE_DIR) + >>> archiver_queue = config.switchboards['archive'] >>> ignore = archiver_queue.enqueue(msg, {}, listname=mlist.fqdn_listname) >>> from mailman.queue.archive import ArchiveRunner -- cgit v1.3.1