summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces
diff options
context:
space:
mode:
authorBarry Warsaw2012-04-06 16:31:14 -0600
committerBarry Warsaw2012-04-06 16:31:14 -0600
commitdc2b2e2ba161c120fed4ab06d61d4b2c9d782869 (patch)
treed00ee390b5b7b493abcbc0f6c7cbadad6b1bbb08 /src/mailman/interfaces
parent180d4968c277b533507db04bb9d363c6a65a2af5 (diff)
downloadmailman-dc2b2e2ba161c120fed4ab06d61d4b2c9d782869.tar.gz
mailman-dc2b2e2ba161c120fed4ab06d61d4b2c9d782869.tar.zst
mailman-dc2b2e2ba161c120fed4ab06d61d4b2c9d782869.zip
* Header check specifications in the `mailman.cfg` file have changed quite
bit. The previous `[spam.header.foo]` sections have been removed. Instead, there's a new `[antispam]` section that contains a `header_checks` variable. This variable takes multiple lines of `Header: regexp` values, one per line. There is also a new `jump_chain` variable which names the chain to jump to should any of the header checks (including the list-specific, and programmatically added ones) match. * Fixed a typo when returning the configuration file's header match checks. (LP: #953497) Also: - Remove an unused method. - Improve test coverage for mailman/app/bounces.py - 100% test coverage for mailman/chains/headers.py - Various other minor code cleanup. - Fixed the 'any' rule, which was checking a bogus metadata dictionary key.
Diffstat (limited to 'src/mailman/interfaces')
-rw-r--r--src/mailman/interfaces/chain.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman/interfaces/chain.py b/src/mailman/interfaces/chain.py
index 2dd3a8d7d..8858f874c 100644
--- a/src/mailman/interfaces/chain.py
+++ b/src/mailman/interfaces/chain.py
@@ -78,10 +78,10 @@ class IChain(Interface):
def get_links(mlist, msg, msgdata):
"""Get an `IChainIterator` for processing.
- :param mlist: the IMailingList object
- :param msg: the message being processed
- :param msgdata: the message metadata dictionary
- :return: An `IChainIterator`.
+ :param mlist: The mailing list.
+ :param msg: The message being processed.
+ :param msgdata: The message metadata dictionary.
+ :return: `IChainIterator`.
"""