summaryrefslogtreecommitdiff
path: root/src/mailman/rules/docs/truth.txt
diff options
context:
space:
mode:
authorBarry Warsaw2009-01-25 13:01:41 -0500
committerBarry Warsaw2009-01-25 13:01:41 -0500
commiteefd06f1b88b8ecbb23a9013cd223b72ca85c20d (patch)
tree72c947fe16fce0e07e996ee74020b26585d7e846 /src/mailman/rules/docs/truth.txt
parent07871212f74498abd56bef3919bf3e029eb8b930 (diff)
downloadmailman-eefd06f1b88b8ecbb23a9013cd223b72ca85c20d.tar.gz
mailman-eefd06f1b88b8ecbb23a9013cd223b72ca85c20d.tar.zst
mailman-eefd06f1b88b8ecbb23a9013cd223b72ca85c20d.zip
Push the source directory into a 'src' subdirectory so that zc.buildout works
correctly regardless of how it's used.
Diffstat (limited to 'src/mailman/rules/docs/truth.txt')
-rw-r--r--src/mailman/rules/docs/truth.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mailman/rules/docs/truth.txt b/src/mailman/rules/docs/truth.txt
new file mode 100644
index 000000000..f331e852b
--- /dev/null
+++ b/src/mailman/rules/docs/truth.txt
@@ -0,0 +1,9 @@
+Truth
+=====
+
+The 'truth' rule always matches. This makes it useful as a terminus rule for
+unconditionally jumping to another chain.
+
+ >>> rule = config.rules['truth']
+ >>> rule.check(False, False, False)
+ True