diff options
| author | Barry Warsaw | 2009-01-04 19:41:05 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-04 19:41:05 -0500 |
| commit | f6d998b93b0dd8978eadc9abc4c3964e3fe66bf7 (patch) | |
| tree | fc64f36b862ae61965e8d23fd00e56dcac1a5ee3 /mailman/database/pending.py | |
| parent | 706c3853103f53955068cc429c0bd6d1f8fb6dd0 (diff) | |
| download | mailman-f6d998b93b0dd8978eadc9abc4c3964e3fe66bf7.tar.gz mailman-f6d998b93b0dd8978eadc9abc4c3964e3fe66bf7.tar.zst mailman-f6d998b93b0dd8978eadc9abc4c3964e3fe66bf7.zip | |
Diffstat (limited to 'mailman/database/pending.py')
| -rw-r--r-- | mailman/database/pending.py | 9 |
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) |
