From eb41bebb04cb8158d46d130ba63ca2044f2ccbb1 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 7 Mar 2012 15:45:09 -0800 Subject: * Mailing lists get multiple chains and pipelines. For example, normal postings go through the `posting_chain` while messages to owners to through `owners_chain`. The default `built-in` chain is renamed to `default-posting-chain` while the `built-in` pipeline is renamed `default-posting-pipeline`. * Schema changes: - start_chain -> posting_chain - pipeline -> posting_pipeline --- src/mailman/chains/docs/moderation.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mailman/chains/docs') diff --git a/src/mailman/chains/docs/moderation.rst b/src/mailman/chains/docs/moderation.rst index d80f9bd2c..fed120147 100644 --- a/src/mailman/chains/docs/moderation.rst +++ b/src/mailman/chains/docs/moderation.rst @@ -73,7 +73,7 @@ built-in chain. No rules hit and so the message is accepted. >>> from mailman.core.chains import process >>> from mailman.testing.helpers import event_subscribers >>> with event_subscribers(on_chain): - ... process(mlist, msg, {}, 'built-in') + ... process(mlist, msg, {}, 'default-posting-chain') Subject: aardvark @@ -108,7 +108,7 @@ moderator approval. ... """) >>> with event_subscribers(on_chain): - ... process(mlist, msg, {}, 'built-in') + ... process(mlist, msg, {}, 'default-posting-chain') Subject: badger @@ -133,7 +133,7 @@ The list's member moderation action can also be set to `discard`... ... """) >>> with event_subscribers(on_chain): - ... process(mlist, msg, {}, 'built-in') + ... process(mlist, msg, {}, 'default-posting-chain') Subject: cougar @@ -157,7 +157,7 @@ The list's member moderation action can also be set to `discard`... ... """) >>> with event_subscribers(on_chain): - ... process(mlist, msg, {}, 'built-in') + ... process(mlist, msg, {}, 'default-posting-chain') Subject: dingo @@ -196,7 +196,7 @@ moderator approval. ... """) >>> with event_subscribers(on_chain): - ... process(mlist, msg, {}, 'built-in') + ... process(mlist, msg, {}, 'default-posting-chain') Subject: elephant -- cgit v1.3.1