From fdfc98239de2cfdfff6c62a5bb9d49abc8d3722e Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sun, 8 Apr 2012 19:40:38 -0400 Subject: - Rename the model attributes. - news_moderation -> newsgroup_moderation --- src/mailman/rules/docs/news-moderation.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mailman/rules/docs') diff --git a/src/mailman/rules/docs/news-moderation.rst b/src/mailman/rules/docs/news-moderation.rst index c695740fa..651c21bb4 100644 --- a/src/mailman/rules/docs/news-moderation.rst +++ b/src/mailman/rules/docs/news-moderation.rst @@ -16,8 +16,8 @@ directly to the mailing list. Set the list configuration variable to enable newsgroup moderation. - >>> from mailman.interfaces.nntp import NewsModeration - >>> mlist.news_moderation = NewsModeration.moderated + >>> from mailman.interfaces.nntp import NewsgroupModeration + >>> mlist.newsgroup_moderation = NewsgroupModeration.moderated And now all messages will match the rule. @@ -32,6 +32,6 @@ And now all messages will match the rule. When moderation is turned off, the rule does not match. - >>> mlist.news_moderation = NewsModeration.none + >>> mlist.news_moderation = NewsgroupModeration.none >>> rule.check(mlist, msg, {}) False -- cgit v1.3.1