diff options
| author | Barry Warsaw | 2016-01-25 14:59:36 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2016-01-25 14:59:36 -0500 |
| commit | d063ee4dd4579ca931e36f0761084e4ab7cd0335 (patch) | |
| tree | e1ee71db22560274a82a68dd082f35ee0d5ad3ee /src/mailman/rules | |
| parent | 471851bab74874f02de08d71a3c1256c3ec6390d (diff) | |
| download | mailman-d063ee4dd4579ca931e36f0761084e4ab7cd0335.tar.gz mailman-d063ee4dd4579ca931e36f0761084e4ab7cd0335.tar.zst mailman-d063ee4dd4579ca931e36f0761084e4ab7cd0335.zip | |
Diffstat (limited to 'src/mailman/rules')
| -rw-r--r-- | src/mailman/rules/docs/header-matching.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rules/docs/header-matching.rst b/src/mailman/rules/docs/header-matching.rst index 2eb8d9bdf..6618d9cc9 100644 --- a/src/mailman/rules/docs/header-matching.rst +++ b/src/mailman/rules/docs/header-matching.rst @@ -39,7 +39,7 @@ through the chain with no matches. ... print('Rule hits:') ... for rule_name in hits: ... rule = config.rules[rule_name] - ... print(' {0}: {1}'.format(rule.header, rule.pattern)) + ... print(' {}: {}'.format(rule.header, rule.pattern)) ... misses = msgdata.get('rule_misses', []) ... if len(misses) == 0: ... print('No rules missed') @@ -47,7 +47,7 @@ through the chain with no matches. ... print('Rule misses:') ... for rule_name in misses: ... rule = config.rules[rule_name] - ... print(' {0}: {1}'.format(rule.header, rule.pattern)) + ... print(' {}: {}'.format(rule.header, rule.pattern)) By looking at the message metadata after chain processing, we can see that none of the rules matched. |
