diff options
| author | Barry Warsaw | 2009-03-25 08:05:27 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2009-03-25 08:05:27 -0400 |
| commit | 9e95c42c35332a6396c4a1b53ea0b69d72f5f598 (patch) | |
| tree | 26801f247cdbee68242db13f2a07558016f6ec94 /src/mailman/queue/docs | |
| parent | d820ece5e8f78def60438857eec48514a4cd905d (diff) | |
| download | mailman-9e95c42c35332a6396c4a1b53ea0b69d72f5f598.tar.gz mailman-9e95c42c35332a6396c4a1b53ea0b69d72f5f598.tar.zst mailman-9e95c42c35332a6396c4a1b53ea0b69d72f5f598.zip | |
Move the Action and NewsModeration enums into their own interface files.
Diffstat (limited to 'src/mailman/queue/docs')
| -rw-r--r-- | src/mailman/queue/docs/news.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/queue/docs/news.txt b/src/mailman/queue/docs/news.txt index 3375b3d54..f149ef93a 100644 --- a/src/mailman/queue/docs/news.txt +++ b/src/mailman/queue/docs/news.txt @@ -117,7 +117,7 @@ Newsgroup moderation When the newsgroup is moderated, an Approved: header with the list's posting address is added for the benefit of the Usenet system. - >>> from mailman.interfaces import NewsModeration + >>> from mailman.interfaces.nntp import NewsModeration >>> mlist.news_moderation = NewsModeration.open_moderated >>> msg = message_from_string("""\ ... From: aperson@example.com @@ -140,7 +140,7 @@ address is added for the benefit of the Usenet system. >>> msg['approved'] u'_xtest@example.com' -But if the newsgroup is not moderated, the Approved: header is not chnaged. +But if the newsgroup is not moderated, the Approved: header is not changed. >>> mlist.news_moderation = NewsModeration.none >>> msg = message_from_string("""\ |
