diff options
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`. """ |
