diff options
| author | Barry Warsaw | 2012-03-17 13:26:05 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2012-03-17 13:26:05 -0400 |
| commit | ae15984804096db593d83740dcd4c158626eb22f (patch) | |
| tree | 001465a291c829436cdbb1cc64d430342a1921bf /src/mailman/archiving | |
| parent | 8e6cca71e8b6b0e79394aaf2c1d13d7cfce41c29 (diff) | |
| download | mailman-ae15984804096db593d83740dcd4c158626eb22f.tar.gz mailman-ae15984804096db593d83740dcd4c158626eb22f.tar.zst mailman-ae15984804096db593d83740dcd4c158626eb22f.zip | |
Adjustments after landing the nopipermail branch.
Diffstat (limited to 'src/mailman/archiving')
| -rw-r--r-- | src/mailman/archiving/docs/common.rst | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/mailman/archiving/docs/common.rst b/src/mailman/archiving/docs/common.rst index c5fecaefe..7437f4790 100644 --- a/src/mailman/archiving/docs/common.rst +++ b/src/mailman/archiving/docs/common.rst @@ -45,21 +45,9 @@ interoperate. Sending the message to the archiver =================================== -The archiver is also able to archive the message. -:: - - >>> archivers['pipermail'].archive_message(mlist, msg) - - >>> import os - >>> from mailman.interfaces.archiver import IPipermailMailingList - >>> pckpath = os.path.join( - ... IPipermailMailingList(mlist).archive_dir(), - ... 'pipermail.pck') - >>> os.path.exists(pckpath) - True - The `prototype` archiver archives messages to a maildir. + >>> import os >>> archivers['prototype'].archive_message(mlist, msg) >>> archive_path = os.path.join( ... config.ARCHIVE_DIR, 'prototype', mlist.fqdn_listname, 'new') |
