diff options
| author | Barry Warsaw | 2009-07-18 22:31:45 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2009-07-18 22:31:45 -0400 |
| commit | d9ad19e86ff658a74870fb488cd74e5002b63bc3 (patch) | |
| tree | 29a7e53c290a95d6280772d6aa52a8b160649596 /src/mailman/rules/docs/loop.txt | |
| parent | 422a6757e6aafbd12c220aa8dfdc33f8c377718c (diff) | |
| download | mailman-d9ad19e86ff658a74870fb488cd74e5002b63bc3.tar.gz mailman-d9ad19e86ff658a74870fb488cd74e5002b63bc3.tar.zst mailman-d9ad19e86ff658a74870fb488cd74e5002b63bc3.zip | |
De-u-literal-ify our doctests.
Diffstat (limited to '')
| -rw-r--r-- | src/mailman/rules/docs/loop.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/rules/docs/loop.txt b/src/mailman/rules/docs/loop.txt index 61612cd75..5015d3d95 100644 --- a/src/mailman/rules/docs/loop.txt +++ b/src/mailman/rules/docs/loop.txt @@ -1,10 +1,11 @@ +============= Posting loops ============= To avoid a posting loop, Mailman has a rule to check for the existence of an X-BeenThere header with the value of the list's posting address. - >>> mlist = config.db.list_manager.create(u'_xtest@example.com') + >>> mlist = config.db.list_manager.create('_xtest@example.com') >>> rule = config.rules['loop'] >>> print rule.name loop @@ -21,7 +22,7 @@ The header could be missing, in which case the rule does not match. The header could be present, but not match the list's posting address. - >>> msg['X-BeenThere'] = u'not-this-list@example.com' + >>> msg['X-BeenThere'] = 'not-this-list@example.com' >>> rule.check(mlist, msg, {}) False |
