diff options
| author | Barry Warsaw | 2008-06-15 00:01:55 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2008-06-15 00:01:55 -0400 |
| commit | ee349897c99a75da4da4698c64bee8cd0d743d97 (patch) | |
| tree | e2b00e3c9eb399d8dd77d6a60a30a996af57ed44 /mailman/pipeline/docs/archives.txt | |
| parent | 67e437883d520bf7ea78ae55235892aa946ef0b4 (diff) | |
| parent | 3d192123461559445bd7e68ef163828bb51852e6 (diff) | |
| download | mailman-ee349897c99a75da4da4698c64bee8cd0d743d97.tar.gz mailman-ee349897c99a75da4da4698c64bee8cd0d743d97.tar.zst mailman-ee349897c99a75da4da4698c64bee8cd0d743d97.zip | |
Diffstat (limited to 'mailman/pipeline/docs/archives.txt')
| -rw-r--r-- | mailman/pipeline/docs/archives.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mailman/pipeline/docs/archives.txt b/mailman/pipeline/docs/archives.txt index b7b54f17f..67ad45c89 100644 --- a/mailman/pipeline/docs/archives.txt +++ b/mailman/pipeline/docs/archives.txt @@ -7,11 +7,11 @@ delivery processes while messages are archived. This also allows external archivers to work in a separate process from the main Mailman delivery processes. - >>> from mailman.queue import Switchboard + >>> from mailman.app.lifecycle import create_list >>> from mailman.configuration import config + >>> from mailman.queue import Switchboard >>> handler = config.handlers['to-archive'] - >>> mlist = config.db.list_manager.create(u'_xtest@example.com') - >>> mlist.preferred_language = u'en' + >>> mlist = create_list(u'_xtest@example.com') >>> switchboard = Switchboard(config.ARCHQUEUE_DIR) A helper function. |
