diff options
| author | Barry Warsaw | 2011-08-22 22:45:49 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2011-08-22 22:45:49 -0400 |
| commit | 35e4ca77838ac7bbeca3f8da6ea64a93a6e501d5 (patch) | |
| tree | 7aeaf59aa71fae51b96df28623478a34c90a82b3 /src/mailman/model/docs | |
| parent | 53b064d625e1718f6c053cd3692b91eff3f8c1d1 (diff) | |
| download | mailman-35e4ca77838ac7bbeca3f8da6ea64a93a6e501d5.tar.gz mailman-35e4ca77838ac7bbeca3f8da6ea64a93a6e501d5.tar.zst mailman-35e4ca77838ac7bbeca3f8da6ea64a93a6e501d5.zip | |
Rename IDomain.email_host to .mail_host for consistency. Similarly in the
REST API. (LP: #831660)
Diffstat (limited to 'src/mailman/model/docs')
| -rw-r--r-- | src/mailman/model/docs/domains.rst (renamed from src/mailman/model/docs/domains.txt) | 6 | ||||
| -rw-r--r-- | src/mailman/model/docs/requests.rst (renamed from src/mailman/model/docs/requests.txt) | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman/model/docs/domains.txt b/src/mailman/model/docs/domains.rst index 9fe43a5f1..4fa39aa2f 100644 --- a/src/mailman/model/docs/domains.txt +++ b/src/mailman/model/docs/domains.rst @@ -18,7 +18,7 @@ Domains are how Mailman interacts with email host names and web host names. ... if len(manager) == 0: ... print 'no domains' ... return - ... for domain in sorted(manager, key=attrgetter('email_host')): + ... for domain in sorted(manager, key=attrgetter('mail_host')): ... print domain >>> show_domains() @@ -74,8 +74,8 @@ Domains can have explicit descriptions and contact addresses. In the global domain manager, domains are indexed by their email host name. :: - >>> for domain in sorted(manager, key=attrgetter('email_host')): - ... print domain.email_host + >>> for domain in sorted(manager, key=attrgetter('mail_host')): + ... print domain.mail_host example.com example.net diff --git a/src/mailman/model/docs/requests.txt b/src/mailman/model/docs/requests.rst index 812d25a43..e01544490 100644 --- a/src/mailman/model/docs/requests.txt +++ b/src/mailman/model/docs/requests.rst @@ -312,7 +312,7 @@ indicates that the message has been approved. >>> id_3 = moderator.hold_message(mlist, msg, msgdata, 'Needs approval') >>> moderator.handle_message(mlist, id_3, Action.accept) - >>> inq = config.switchboards['in'] + >>> inq = config.switchboards['pipeline'] >>> qmsg, qdata = dequeue(inq) >>> print qmsg.as_string() From: aperson@example.org |
