summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/pending.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/interfaces/pending.py')
-rw-r--r--src/mailman/interfaces/pending.py17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/mailman/interfaces/pending.py b/src/mailman/interfaces/pending.py
index 40db0e585..b7621cbe2 100644
--- a/src/mailman/interfaces/pending.py
+++ b/src/mailman/interfaces/pending.py
@@ -22,18 +22,11 @@ maps these events to a unique hash that can be used as a token for end user
confirmation.
"""
-__all__ = [
- 'IPendable',
- 'IPended',
- 'IPendedKeyValue',
- 'IPendings',
- ]
-
-
+from mailman import public
from zope.interface import Interface, Attribute
-
+@public
class IPendable(Interface):
"""A pendable object."""
@@ -58,7 +51,7 @@ class IPendable(Interface):
"""
-
+@public
class IPended(Interface):
"""A pended event, tied to a token."""
@@ -67,7 +60,7 @@ class IPended(Interface):
expiration_date = Attribute("""The expiration date of the pended event.""")
-
+@public
class IPendedKeyValue(Interface):
"""A pended key/value pair."""
@@ -76,7 +69,7 @@ class IPendedKeyValue(Interface):
value = Attribute("""The pended value.""")
-
+@public
class IPendings(Interface):
"""Interface to pending database."""