diff options
| author | Barry Warsaw | 2011-06-16 16:46:02 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2011-06-16 16:46:02 -0400 |
| commit | a8722b736a9070288f9bd62b8650f9e682a33ea6 (patch) | |
| tree | 0d2a9342963d9b81af5cd822c571beefda29b7a2 /src/mailman/pipeline/docs | |
| parent | 3c99f28d219596434e8547df95e7041e2cf21fb7 (diff) | |
| download | mailman-a8722b736a9070288f9bd62b8650f9e682a33ea6.tar.gz mailman-a8722b736a9070288f9bd62b8650f9e682a33ea6.tar.zst mailman-a8722b736a9070288f9bd62b8650f9e682a33ea6.zip | |
* The IMailingList attribute ``host_name`` has been renamed to ``mail_host``
for consistency. This changes the REST API for mailing list
resources. (LP: #787599)
Diffstat (limited to 'src/mailman/pipeline/docs')
| -rw-r--r-- | src/mailman/pipeline/docs/cook-headers.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/pipeline/docs/cook-headers.txt b/src/mailman/pipeline/docs/cook-headers.txt index 834b140fa..cd2acaae2 100644 --- a/src/mailman/pipeline/docs/cook-headers.txt +++ b/src/mailman/pipeline/docs/cook-headers.txt @@ -199,7 +199,7 @@ set the ``List-ID`` header. Start by creating a new domain. >>> from mailman.interfaces.domain import IDomainManager >>> from zope.component import getUtility >>> domain = getUtility(IDomainManager).add('mail.example.net') - >>> mlist.host_name = 'mail.example.net' + >>> mlist.mail_host = 'mail.example.net' >>> process(mlist, msg, {}) >>> print msg['list-id'] @@ -210,7 +210,7 @@ set the ``List-ID`` header. Start by creating a new domain. >>> print msg['list-id'] My test mailing list <_xtest.mail.example.net> - >>> mlist.host_name = 'example.com' + >>> mlist.mail_host = 'example.com' >>> mlist.list_id = '_xtest.example.com' Any existing ``List-ID`` headers are removed from the original message. |
