diff options
Diffstat (limited to 'src/mailman/model/autorespond.py')
| -rw-r--r-- | src/mailman/model/autorespond.py | 9 |
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`.""" |
