summaryrefslogtreecommitdiff
path: root/src/mailman/model/bounce.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-04-25 22:08:22 -0400
committerBarry Warsaw2012-04-25 22:08:22 -0400
commit658fad42b04420962e6ac478247411ee77483d93 (patch)
treedb16a22376b7191910bf674304c847850169144f /src/mailman/model/bounce.py
parent4488631dff02731ff03f2fef01ee27bbd944812b (diff)
downloadmailman-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.py8
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):