diff options
| author | Barry Warsaw | 2016-03-25 11:01:46 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-03-25 11:01:46 -0400 |
| commit | 7fd9e5ab09b0da347da0607b47d2d3838bd80f0c (patch) | |
| tree | b150f85e5fc482f45e973a233b5184d3ca4b78a7 /src/mailman/model/autorespond.py | |
| parent | 71ebe367a52316811f570d09f2213c192a47973f (diff) | |
| download | mailman-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.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`.""" |
