summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/pending.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/pending.py
parentb9c06627e46ff1e9f09965228ab3b48f217109af (diff)
downloadmailman-a681354cadf48394127796eb111c2904283c9288.tar.gz
mailman-a681354cadf48394127796eb111c2904283c9288.tar.zst
mailman-a681354cadf48394127796eb111c2904283c9288.zip
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."""