diff options
| author | Barry Warsaw | 2013-10-27 18:21:27 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2013-10-27 18:21:27 -0400 |
| commit | 91a39201f65747fde915495813e41ff324f87625 (patch) | |
| tree | 341bca6ca0af423b1b2278a7944923331f69d20b /src/mailman/interfaces/mailinglist.py | |
| parent | b4d3a036b5949c6945b13416615cfd356a327ee2 (diff) | |
| parent | 39b25c3285b5f6cefd7498412e9722b7b062eab2 (diff) | |
| download | mailman-91a39201f65747fde915495813e41ff324f87625.tar.gz mailman-91a39201f65747fde915495813e41ff324f87625.tar.zst mailman-91a39201f65747fde915495813e41ff324f87625.zip | |
Diffstat (limited to 'src/mailman/interfaces/mailinglist.py')
| -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): |
