summaryrefslogtreecommitdiff
path: root/src/mailman/pipeline
diff options
context:
space:
mode:
authorBarry Warsaw2009-11-04 22:01:45 -0500
committerBarry Warsaw2009-11-04 22:01:45 -0500
commite9c4ba828cea939e665cc91f46bbded8fcb887f0 (patch)
tree24c94144dc911da330150a0cb4387ec9272cf8df /src/mailman/pipeline
parent40ad0384b82169a737f004321127d41bafe0632c (diff)
downloadmailman-e9c4ba828cea939e665cc91f46bbded8fcb887f0.tar.gz
mailman-e9c4ba828cea939e665cc91f46bbded8fcb887f0.tar.zst
mailman-e9c4ba828cea939e665cc91f46bbded8fcb887f0.zip
Diffstat (limited to 'src/mailman/pipeline')
-rw-r--r--src/mailman/pipeline/docs/ack-headers.txt1
-rw-r--r--src/mailman/pipeline/docs/acknowledge.txt1
-rw-r--r--src/mailman/pipeline/docs/after-delivery.txt1
-rw-r--r--src/mailman/pipeline/docs/archives.txt1
-rw-r--r--src/mailman/pipeline/docs/avoid-duplicates.txt1
-rw-r--r--src/mailman/pipeline/docs/calc-recips.txt1
-rw-r--r--src/mailman/pipeline/docs/cleanse.txt1
-rw-r--r--src/mailman/pipeline/docs/decorate.txt1
-rw-r--r--src/mailman/pipeline/docs/file-recips.txt1
-rw-r--r--src/mailman/pipeline/docs/nntp.txt1
-rw-r--r--src/mailman/pipeline/docs/reply-to.txt1
-rw-r--r--src/mailman/pipeline/docs/scrubber.txt1
-rw-r--r--src/mailman/pipeline/docs/subject-munging.txt1
-rw-r--r--src/mailman/pipeline/docs/tagger.txt1
-rw-r--r--src/mailman/pipeline/docs/to-outgoing.txt1
15 files changed, 0 insertions, 15 deletions
diff --git a/src/mailman/pipeline/docs/ack-headers.txt b/src/mailman/pipeline/docs/ack-headers.txt
index ddaa313dc..0f4d8ab9e 100644
--- a/src/mailman/pipeline/docs/ack-headers.txt
+++ b/src/mailman/pipeline/docs/ack-headers.txt
@@ -8,7 +8,6 @@ transformations. Some headers get added, others get changed. Some of these
changes depend on mailing list settings and others depend on how the message
is getting sent through the system. We'll take things one-by-one.
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
>>> mlist.subject_prefix = ''
diff --git a/src/mailman/pipeline/docs/acknowledge.txt b/src/mailman/pipeline/docs/acknowledge.txt
index c304bd8bf..f8e9d9d87 100644
--- a/src/mailman/pipeline/docs/acknowledge.txt
+++ b/src/mailman/pipeline/docs/acknowledge.txt
@@ -6,7 +6,6 @@ When a user posts a message to a mailing list, and that user has chosen to
receive acknowledgments of their postings, Mailman will sent them such an
acknowledgment.
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
>>> mlist.real_name = 'XTest'
>>> mlist.preferred_language = 'en'
diff --git a/src/mailman/pipeline/docs/after-delivery.txt b/src/mailman/pipeline/docs/after-delivery.txt
index 19673d91c..eef153c7d 100644
--- a/src/mailman/pipeline/docs/after-delivery.txt
+++ b/src/mailman/pipeline/docs/after-delivery.txt
@@ -7,7 +7,6 @@ by the rest of the handlers in the incoming queue pipeline, a couple of
bookkeeping pieces of information are updated.
>>> import datetime
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
>>> post_time = datetime.datetime.now() - datetime.timedelta(minutes=10)
>>> mlist.last_post_time = post_time
diff --git a/src/mailman/pipeline/docs/archives.txt b/src/mailman/pipeline/docs/archives.txt
index c6351a659..51fd600bc 100644
--- a/src/mailman/pipeline/docs/archives.txt
+++ b/src/mailman/pipeline/docs/archives.txt
@@ -8,7 +8,6 @@ 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.app.lifecycle import create_list
>>> handler = config.handlers['to-archive']
>>> mlist = create_list('_xtest@example.com')
>>> switchboard = config.switchboards['archive']
diff --git a/src/mailman/pipeline/docs/avoid-duplicates.txt b/src/mailman/pipeline/docs/avoid-duplicates.txt
index 1493c4d04..22fc85207 100644
--- a/src/mailman/pipeline/docs/avoid-duplicates.txt
+++ b/src/mailman/pipeline/docs/avoid-duplicates.txt
@@ -7,7 +7,6 @@ reduce the reception of duplicate messages. It does this by removing certain
recipients from the list of recipients that earlier handler modules
(e.g. CalcRecips) calculates.
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
Create some members we're going to use.
diff --git a/src/mailman/pipeline/docs/calc-recips.txt b/src/mailman/pipeline/docs/calc-recips.txt
index dbab492cb..1b1903bf8 100644
--- a/src/mailman/pipeline/docs/calc-recips.txt
+++ b/src/mailman/pipeline/docs/calc-recips.txt
@@ -6,7 +6,6 @@ Every message that makes it through to the list membership gets sent to a set
of recipient addresses. These addresses are calculated by one of the handler
modules and depends on a host of factors.
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
Recipients are calculate from the list members, so add a bunch of members to
diff --git a/src/mailman/pipeline/docs/cleanse.txt b/src/mailman/pipeline/docs/cleanse.txt
index a1838d36e..155de0673 100644
--- a/src/mailman/pipeline/docs/cleanse.txt
+++ b/src/mailman/pipeline/docs/cleanse.txt
@@ -6,7 +6,6 @@ All messages posted to a list get their headers cleansed. Some headers are
related to additional permissions that can be granted to the message and other
headers can be used to fish for membership.
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
Headers such as Approved, Approve, and Urgent are used to grant special
diff --git a/src/mailman/pipeline/docs/decorate.txt b/src/mailman/pipeline/docs/decorate.txt
index 246e67096..e5b3db8d8 100644
--- a/src/mailman/pipeline/docs/decorate.txt
+++ b/src/mailman/pipeline/docs/decorate.txt
@@ -6,7 +6,6 @@ Message decoration is the process of adding headers and footers to the
original message. A handler module takes care of this based on the settings
of the mailing list and the type of message being processed.
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
>>> msg_text = """\
... From: aperson@example.org
diff --git a/src/mailman/pipeline/docs/file-recips.txt b/src/mailman/pipeline/docs/file-recips.txt
index b84b2181d..3180df1fb 100644
--- a/src/mailman/pipeline/docs/file-recips.txt
+++ b/src/mailman/pipeline/docs/file-recips.txt
@@ -6,7 +6,6 @@ Mailman can calculate the recipients for a message from a Sendmail-style
include file. This file must be called members.txt and it must live in the
list's data directory.
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
diff --git a/src/mailman/pipeline/docs/nntp.txt b/src/mailman/pipeline/docs/nntp.txt
index 7b013aabf..5c859c0ae 100644
--- a/src/mailman/pipeline/docs/nntp.txt
+++ b/src/mailman/pipeline/docs/nntp.txt
@@ -6,7 +6,6 @@ Mailman has an NNTP gateway, whereby messages posted to the mailing list can
be forwarded onto an NNTP newsgroup. Typically this means Usenet, but since
NNTP is to Usenet as IP is to the web, it's more general than that.
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
Gatewaying from the mailing list to the newsgroup happens through a separate
diff --git a/src/mailman/pipeline/docs/reply-to.txt b/src/mailman/pipeline/docs/reply-to.txt
index 18b821d7f..841320f7f 100644
--- a/src/mailman/pipeline/docs/reply-to.txt
+++ b/src/mailman/pipeline/docs/reply-to.txt
@@ -8,7 +8,6 @@ transformations. Some headers get added, others get changed. Some of these
changes depend on mailing list settings and others depend on how the message
is getting sent through the system. We'll take things one-by-one.
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
Reply-to munging refers to the behavior where a mailing list can be configured
diff --git a/src/mailman/pipeline/docs/scrubber.txt b/src/mailman/pipeline/docs/scrubber.txt
index 446843f51..9c019d6e4 100644
--- a/src/mailman/pipeline/docs/scrubber.txt
+++ b/src/mailman/pipeline/docs/scrubber.txt
@@ -7,7 +7,6 @@ messages and in components such as the archiver. Its primary purpose is to
scrub attachments from messages so that binary goop doesn't end up in an
archive message.
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
>>> mlist.preferred_language = 'en'
diff --git a/src/mailman/pipeline/docs/subject-munging.txt b/src/mailman/pipeline/docs/subject-munging.txt
index e7f55add6..20f3b04ed 100644
--- a/src/mailman/pipeline/docs/subject-munging.txt
+++ b/src/mailman/pipeline/docs/subject-munging.txt
@@ -8,7 +8,6 @@ transformations. Some headers get added, others get changed. Some of these
changes depend on mailing list settings and others depend on how the message
is getting sent through the system. We'll take things one-by-one.
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
diff --git a/src/mailman/pipeline/docs/tagger.txt b/src/mailman/pipeline/docs/tagger.txt
index 46cdedcb7..ea3355f1a 100644
--- a/src/mailman/pipeline/docs/tagger.txt
+++ b/src/mailman/pipeline/docs/tagger.txt
@@ -9,7 +9,6 @@ double duty as the 'topic tag'. Each message that flows the mailing list has
its Subject: and Keywords: headers compared against these regular
expressions. The message then gets tagged with the topic names of each hit.
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
Topics must be enabled for Mailman to do any topic matching, even if topics
diff --git a/src/mailman/pipeline/docs/to-outgoing.txt b/src/mailman/pipeline/docs/to-outgoing.txt
index a8e67ec9f..e04620f8b 100644
--- a/src/mailman/pipeline/docs/to-outgoing.txt
+++ b/src/mailman/pipeline/docs/to-outgoing.txt
@@ -10,7 +10,6 @@ term somewhat incorrectly, but within the spirit of the standard, which
basically describes how to encode the recipient's address in the originator
headers for unambigous bounce processing.
- >>> from mailman.app.lifecycle import create_list
>>> mlist = create_list('_xtest@example.com')
>>> switchboard = config.switchboards['out']