summaryrefslogtreecommitdiff
path: root/mailman/database/pending.py
diff options
context:
space:
mode:
Diffstat (limited to 'mailman/database/pending.py')
-rw-r--r--mailman/database/pending.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/mailman/database/pending.py b/mailman/database/pending.py
index 9b7094b8b..07e594253 100644
--- a/mailman/database/pending.py
+++ b/mailman/database/pending.py
@@ -17,6 +17,12 @@
"""Implementations of the IPendable and IPending interfaces."""
+__metaclass__ = type
+__all__ = [
+ 'Pended',
+ 'Pendings',
+ ]
+
import sys
import time
import random
@@ -56,6 +62,7 @@ class Pended(Model):
implements(IPended)
def __init__(self, token, expiration_date):
+ super(Pended, self).__init__()
self.token = token
self.expiration_date = expiration_date
@@ -71,7 +78,7 @@ class UnpendedPendable(dict):
-class Pendings(object):
+class Pendings:
"""Implementation of the IPending interface."""
implements(IPendings)