summaryrefslogtreecommitdiff
path: root/Mailman/constants.py
diff options
context:
space:
mode:
authorBarry Warsaw2007-08-05 00:32:09 -0400
committerBarry Warsaw2007-08-05 00:32:09 -0400
commit959f34a62e0ec3cbe73da3d43640ccb6791cf3a0 (patch)
treeafcf868061fe6a5b56aeb7493c1e72e215fcce1a /Mailman/constants.py
parentec734fab4791c107610caf73931e570b2d1b6bd0 (diff)
downloadmailman-959f34a62e0ec3cbe73da3d43640ccb6791cf3a0.tar.gz
mailman-959f34a62e0ec3cbe73da3d43640ccb6791cf3a0.tar.zst
mailman-959f34a62e0ec3cbe73da3d43640ccb6791cf3a0.zip
Diffstat (limited to 'Mailman/constants.py')
-rw-r--r--Mailman/constants.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/Mailman/constants.py b/Mailman/constants.py
index fcf5e9678..55a258af1 100644
--- a/Mailman/constants.py
+++ b/Mailman/constants.py
@@ -22,6 +22,15 @@ from zope.interface import implements
from Mailman.interfaces import IPreferences
+__all__ = [
+ 'Action',
+ 'DeliveryMode',
+ 'DeliveryStatus',
+ 'MemberRole',
+ 'ReplyToMunging',
+ 'SystemDefaultPreferences',
+ ]
+
class DeliveryMode(Enum):
@@ -75,3 +84,12 @@ class ReplyToMunging(Enum):
point_to_list = 1
# An explicit Reply-To header is added
explicit_header = 2
+
+
+
+class Action(Enum):
+ hold = 0
+ reject = 1
+ discard = 2
+ accept = 3
+ defer = 4