summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/nntp.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-03-25 10:13:48 -0400
committerBarry Warsaw2016-03-25 10:13:48 -0400
commita681354cadf48394127796eb111c2904283c9288 (patch)
tree87377966491672f981d6567d78debd384004d11b /src/mailman/interfaces/nntp.py
parentb9c06627e46ff1e9f09965228ab3b48f217109af (diff)
downloadmailman-a681354cadf48394127796eb111c2904283c9288.tar.gz
mailman-a681354cadf48394127796eb111c2904283c9288.tar.zst
mailman-a681354cadf48394127796eb111c2904283c9288.zip
Diffstat (limited to 'src/mailman/interfaces/nntp.py')
-rw-r--r--src/mailman/interfaces/nntp.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mailman/interfaces/nntp.py b/src/mailman/interfaces/nntp.py
index e9a584366..72a74fe90 100644
--- a/src/mailman/interfaces/nntp.py
+++ b/src/mailman/interfaces/nntp.py
@@ -17,15 +17,11 @@
"""NNTP and newsgroup interfaces."""
-__all__ = [
- 'NewsgroupModeration',
- ]
-
-
from enum import Enum
+from mailman import public
-
+@public
class NewsgroupModeration(Enum):
# The newsgroup is not moderated.
none = 0