diff options
| author | Barry Warsaw | 2008-07-03 00:59:12 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2008-07-03 00:59:12 -0400 |
| commit | ed752bbc1cb7731ce0eebb8cd7301d0322b9ef49 (patch) | |
| tree | a11750fd86ee00175a92ce2e877dfa56213851bf /mailman/pipeline/docs | |
| parent | 67e437883d520bf7ea78ae55235892aa946ef0b4 (diff) | |
| parent | ae08b9bd032410014124c0885e2ed4b7b9cb4591 (diff) | |
| download | mailman-ed752bbc1cb7731ce0eebb8cd7301d0322b9ef49.tar.gz mailman-ed752bbc1cb7731ce0eebb8cd7301d0322b9ef49.tar.zst mailman-ed752bbc1cb7731ce0eebb8cd7301d0322b9ef49.zip | |
Merge the archiver plugin branch into 3.0 mainline.
Diffstat (limited to 'mailman/pipeline/docs')
| -rw-r--r-- | mailman/pipeline/docs/archives.txt | 6 | ||||
| -rw-r--r-- | mailman/pipeline/docs/cook-headers.txt | 1 |
2 files changed, 4 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. diff --git a/mailman/pipeline/docs/cook-headers.txt b/mailman/pipeline/docs/cook-headers.txt index a85ba9e63..d764bd796 100644 --- a/mailman/pipeline/docs/cook-headers.txt +++ b/mailman/pipeline/docs/cook-headers.txt @@ -186,6 +186,7 @@ But normally, a list will include these headers. >>> mlist.preferred_language = u'en' >>> msg = message_from_string("""\ ... From: aperson@example.com + ... Message-ID: <12345> ... ... """) >>> process(mlist, msg, {}) |
