diff options
| author | toshio | 2012-03-13 06:20:20 +0000 |
|---|---|---|
| committer | toshio | 2012-03-13 06:20:20 +0000 |
| commit | 3f911e76bec2241365974726c36055fed39407df (patch) | |
| tree | fc78260839979dfaad651617a1d8b9658b942a77 /src | |
| parent | f4f5226e97e53826ebbe8794e2e7b770e53db5f2 (diff) | |
| download | mailman-3f911e76bec2241365974726c36055fed39407df.tar.gz mailman-3f911e76bec2241365974726c36055fed39407df.tar.zst mailman-3f911e76bec2241365974726c36055fed39407df.zip | |
Update documentation for the prototype archiver
Diffstat (limited to 'src')
| -rw-r--r-- | src/mailman/archiving/docs/common.rst | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mailman/archiving/docs/common.rst b/src/mailman/archiving/docs/common.rst index 330c8e307..7fe788ee4 100644 --- a/src/mailman/archiving/docs/common.rst +++ b/src/mailman/archiving/docs/common.rst @@ -61,13 +61,17 @@ The archiver is also able to archive the message. >>> os.path.exists(pckpath) True -Note however that the prototype archiver can't archive messages. +The prototype archiver is available to simplistically archive messages. +:: >>> archivers['prototype'].archive_message(mlist, msg) - Traceback (most recent call last): - ... - NotImplementedError + >>> import os + >>> from mailman import config + >>> archivepath = os.path.join(config.ARCHIVE_DIR, 'prototype', + ... mlist.fqdn_listname, 'new') + >>> len (os.listdir(archivepath)) >= 1 + True The Mail-Archive.com ==================== |
