diff options
| author | Joanna Skrzeszewska | 2013-09-08 07:22:32 +0000 |
|---|---|---|
| committer | Joanna Skrzeszewska | 2013-09-08 07:22:32 +0000 |
| commit | c7f8019ff5967a4f65d831ba77188435ed575b83 (patch) | |
| tree | 718ae46526a8b67d391bc98052fe4a70c92ff431 /src/mailman/interfaces | |
| parent | 442037b1374ccb2821a48a7ea7606f137ce28241 (diff) | |
| download | mailman-c7f8019ff5967a4f65d831ba77188435ed575b83.tar.gz mailman-c7f8019ff5967a4f65d831ba77188435ed575b83.tar.zst mailman-c7f8019ff5967a4f65d831ba77188435ed575b83.zip | |
Diffstat (limited to 'src/mailman/interfaces')
| -rw-r--r-- | src/mailman/interfaces/mailinglist.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mailman/interfaces/mailinglist.py b/src/mailman/interfaces/mailinglist.py index 7beaf9c46..8519238db 100644 --- a/src/mailman/interfaces/mailinglist.py +++ b/src/mailman/interfaces/mailinglist.py @@ -24,6 +24,7 @@ __all__ = [ 'IAcceptableAlias', 'IAcceptableAliasSet', 'IMailingList', + 'IArchiverList', 'Personalization', 'ReplyToMunging', ] @@ -54,6 +55,16 @@ class ReplyToMunging(Enum): # An explicit Reply-To header is added explicit_header = 2 +class IArchiverList(Interface): + mailing_list_id = Attribute("""List id""") + archiver_name = Attribute("""Archiver name""") + archiver_enabled = Attribute("""If is enabled.""") + +class IListArchiverSet(Interface): + def getAll(): + """Return dict containing all archivers and their settings.""" + def set(archiver, is_enabled): + """Set archiver for this list.""" class IMailingList(Interface): |
