summaryrefslogtreecommitdiff
path: root/mailman/rules/docs/max-size.txt
diff options
context:
space:
mode:
authorBarry Warsaw2009-01-16 21:04:21 -0500
committerBarry Warsaw2009-01-16 21:04:21 -0500
commitae3d0cc316b826b8325507d960ccf84da601c3b0 (patch)
tree3485e2ca463c2131a0ffb1693bc60d569cc9d8b7 /mailman/rules/docs/max-size.txt
parenta3f7d07c62b2f7d6ac9d0b700883826c2838db60 (diff)
downloadmailman-ae3d0cc316b826b8325507d960ccf84da601c3b0.tar.gz
mailman-ae3d0cc316b826b8325507d960ccf84da601c3b0.tar.zst
mailman-ae3d0cc316b826b8325507d960ccf84da601c3b0.zip
Several important cleanups.
* Turn on absolute_import and unicode_literals everywhere, and deal with the aftermath. * Use 'except X as Y' everywhere. * Make the module prologues much more consistent. * Use '{}'.format() consistently, except for logger interface. * Because of the problems with calling ** args with unicode keywords, hide calls to Template.substitute() behind an API.
Diffstat (limited to 'mailman/rules/docs/max-size.txt')
-rw-r--r--mailman/rules/docs/max-size.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailman/rules/docs/max-size.txt b/mailman/rules/docs/max-size.txt
index ae7921f9c..117691e59 100644
--- a/mailman/rules/docs/max-size.txt
+++ b/mailman/rules/docs/max-size.txt
@@ -8,8 +8,8 @@ bytes).
>>> mlist = config.db.list_manager.create(u'_xtest@example.com')
>>> rule = config.rules['max-size']
- >>> rule.name
- 'max-size'
+ >>> print rule.name
+ max-size
For example, setting the maximum message size to 1 means that any message
bigger than that will match the rule.