summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/nntp.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-03-25 08:05:27 -0400
committerBarry Warsaw2009-03-25 08:05:27 -0400
commit9e95c42c35332a6396c4a1b53ea0b69d72f5f598 (patch)
tree26801f247cdbee68242db13f2a07558016f6ec94 /src/mailman/interfaces/nntp.py
parentd820ece5e8f78def60438857eec48514a4cd905d (diff)
downloadmailman-9e95c42c35332a6396c4a1b53ea0b69d72f5f598.tar.gz
mailman-9e95c42c35332a6396c4a1b53ea0b69d72f5f598.tar.zst
mailman-9e95c42c35332a6396c4a1b53ea0b69d72f5f598.zip
Diffstat (limited to 'src/mailman/interfaces/nntp.py')
-rw-r--r--src/mailman/interfaces/nntp.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/mailman/interfaces/nntp.py b/src/mailman/interfaces/nntp.py
new file mode 100644
index 000000000..5b6fc0523
--- /dev/null
+++ b/src/mailman/interfaces/nntp.py
@@ -0,0 +1,34 @@
+# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
+#
+# This file is part of GNU Mailman.
+#
+# GNU Mailman is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option)
+# any later version.
+#
+# GNU Mailman is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# GNU Mailman. If not, see <http://www.gnu.org/licenses/>.
+
+__metaclass__ = type
+__all__ = [
+ 'NewsModeration',
+ ]
+
+
+from munepy import Enum
+
+
+
+class NewsModeration(Enum):
+ # The newsgroup is not moderated
+ none = 0
+ # The newsgroup is moderated, but allows for an open posting policy.
+ open_moderated = 1
+ # The newsgroup is moderated
+ moderated = 2