diff options
| author | Barry Warsaw | 2014-11-01 12:49:15 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2014-11-01 12:49:15 -0400 |
| commit | 8ab9c5111a05277e185b5e038bf12e13cd6df15e (patch) | |
| tree | 9307b9f2fb65a90bc4d61a2c97478b582a96de87 /src/mailman/interfaces/domain.py | |
| parent | b6bc505e45a2f1f4f99d7dd2cdd868d533270ee9 (diff) | |
| parent | fb38e482aa42edd4032a23e7c1f727066991fa62 (diff) | |
| download | mailman-8ab9c5111a05277e185b5e038bf12e13cd6df15e.tar.gz mailman-8ab9c5111a05277e185b5e038bf12e13cd6df15e.tar.zst mailman-8ab9c5111a05277e185b5e038bf12e13cd6df15e.zip | |
Diffstat (limited to 'src/mailman/interfaces/domain.py')
| -rw-r--r-- | src/mailman/interfaces/domain.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mailman/interfaces/domain.py b/src/mailman/interfaces/domain.py index e8610fd76..a4f929ddb 100644 --- a/src/mailman/interfaces/domain.py +++ b/src/mailman/interfaces/domain.py @@ -31,9 +31,8 @@ __all__ = [ ] -from zope.interface import Interface, Attribute - from mailman.core.errors import MailmanError +from zope.interface import Interface, Attribute @@ -97,7 +96,10 @@ class IDomain(Interface): E.g. postmaster@example.com""") mailing_lists = Attribute( - 'All mailing lists for this domain.') + """All mailing lists for this domain. + + The mailing lists are returned in order sorted by list-id. + """) def confirm_url(token=''): """The url used for various forms of confirmation. @@ -166,6 +168,8 @@ class IDomainManager(Interface): def __iter__(): """An iterator over all the domains. + Domains are returned sorted by `mail_host`. + :return: iterator over `IDomain`. """ |
