summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mailman/archiving/docs/common.rst12
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
====================