diff options
| author | Barry Warsaw | 2012-04-25 22:08:22 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2012-04-25 22:08:22 -0400 |
| commit | 658fad42b04420962e6ac478247411ee77483d93 (patch) | |
| tree | db16a22376b7191910bf674304c847850169144f /src/mailman/model/bounce.py | |
| parent | 4488631dff02731ff03f2fef01ee27bbd944812b (diff) | |
| download | mailman-658fad42b04420962e6ac478247411ee77483d93.tar.gz mailman-658fad42b04420962e6ac478247411ee77483d93.tar.zst mailman-658fad42b04420962e6ac478247411ee77483d93.zip | |
Diffstat (limited to 'src/mailman/model/bounce.py')
| -rw-r--r-- | src/mailman/model/bounce.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mailman/model/bounce.py b/src/mailman/model/bounce.py index b957a2243..628e076bf 100644 --- a/src/mailman/model/bounce.py +++ b/src/mailman/model/bounce.py @@ -27,7 +27,7 @@ __all__ = [ from storm.locals import Bool, Int, DateTime, Unicode -from zope.interface import implements +from zope.interface import implementer from mailman.database.model import Model from mailman.database.transaction import dbconnection @@ -38,8 +38,9 @@ from mailman.utilities.datetime import now +@implementer(IBounceEvent) class BounceEvent(Model): - implements(IBounceEvent) + """See `IBounceEvent`.""" id = Int(primary=True) list_name = Unicode() @@ -59,8 +60,9 @@ class BounceEvent(Model): +@implementer(IBounceProcessor) class BounceProcessor: - implements(IBounceProcessor) + """See `IBounceProcessor`.""" @dbconnection def register(self, store, mlist, email, msg, where=None): |
