summaryrefslogtreecommitdiff
path: root/src/mailman/model/docs
diff options
context:
space:
mode:
authorStephen A. Goss2011-08-23 16:07:11 -0700
committerStephen A. Goss2011-08-23 16:07:11 -0700
commit4da280bce9f02dc388f70353c7eede3da9f58794 (patch)
tree955bb0df0e97ad463249078cdea79d0322b599ab /src/mailman/model/docs
parent0b45ed6886360ba858f4a11cb95a3d134fc580dc (diff)
parent35e4ca77838ac7bbeca3f8da6ea64a93a6e501d5 (diff)
downloadmailman-4da280bce9f02dc388f70353c7eede3da9f58794.tar.gz
mailman-4da280bce9f02dc388f70353c7eede3da9f58794.tar.zst
mailman-4da280bce9f02dc388f70353c7eede3da9f58794.zip
merged changes to main branch
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 00824d65c..924ab7301 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()
@@ -97,8 +97,8 @@ property.
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