summaryrefslogtreecommitdiff
path: root/src/mailman/model/autorespond.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-03-25 11:01:46 -0400
committerBarry Warsaw2016-03-25 11:01:46 -0400
commit7fd9e5ab09b0da347da0607b47d2d3838bd80f0c (patch)
treeb150f85e5fc482f45e973a233b5184d3ca4b78a7 /src/mailman/model/autorespond.py
parent71ebe367a52316811f570d09f2213c192a47973f (diff)
downloadmailman-7fd9e5ab09b0da347da0607b47d2d3838bd80f0c.tar.gz
mailman-7fd9e5ab09b0da347da0607b47d2d3838bd80f0c.tar.zst
mailman-7fd9e5ab09b0da347da0607b47d2d3838bd80f0c.zip
Diffstat (limited to 'src/mailman/model/autorespond.py')
-rw-r--r--src/mailman/model/autorespond.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mailman/model/autorespond.py b/src/mailman/model/autorespond.py
index 00c329ff5..20c19889f 100644
--- a/src/mailman/model/autorespond.py
+++ b/src/mailman/model/autorespond.py
@@ -17,6 +17,7 @@
"""Autoresponder records."""
+from mailman import public
from mailman.database.model import Model
from mailman.database.transaction import dbconnection
from mailman.database.types import Enum
@@ -27,13 +28,8 @@ from sqlalchemy import Column, Date, ForeignKey, Integer, desc
from sqlalchemy.orm import relationship
from zope.interface import implementer
-__all__ = [
- 'AutoResponseRecord',
- 'AutoResponseSet',
- ]
-
-
+@public
@implementer(IAutoResponseRecord)
class AutoResponseRecord(Model):
"""See `IAutoResponseRecord`."""
@@ -58,6 +54,7 @@ class AutoResponseRecord(Model):
self.date_sent = today()
+@public
@implementer(IAutoResponseSet)
class AutoResponseSet:
"""See `IAutoResponseSet`."""