summaryrefslogtreecommitdiff
path: root/src/mailman/rules/news_moderation.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-03-25 13:08:26 -0400
committerBarry Warsaw2016-03-25 13:08:26 -0400
commit142aca81121ec885d70ed74ea5a6b76ecf05221b (patch)
tree1ee502232f647c75d3e894d33ce61fdba7da44dc /src/mailman/rules/news_moderation.py
parent1f039b2df371a569115b4ddc7bbc3786ef7d135d (diff)
downloadmailman-142aca81121ec885d70ed74ea5a6b76ecf05221b.tar.gz
mailman-142aca81121ec885d70ed74ea5a6b76ecf05221b.tar.zst
mailman-142aca81121ec885d70ed74ea5a6b76ecf05221b.zip
Diffstat (limited to 'src/mailman/rules/news_moderation.py')
-rw-r--r--src/mailman/rules/news_moderation.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mailman/rules/news_moderation.py b/src/mailman/rules/news_moderation.py
index 2feeed4a1..63a7e93b0 100644
--- a/src/mailman/rules/news_moderation.py
+++ b/src/mailman/rules/news_moderation.py
@@ -17,16 +17,14 @@
"""The news moderation rule."""
+from mailman import public
from mailman.core.i18n import _
from mailman.interfaces.nntp import NewsgroupModeration
from mailman.interfaces.rules import IRule
from zope.interface import implementer
-__all__ = [
- 'ModeratedNewsgroup',
- ]
-
+@public
@implementer(IRule)
class ModeratedNewsgroup:
"""The news moderation rule."""