summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/listmanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/interfaces/listmanager.py')
-rw-r--r--src/mailman/interfaces/listmanager.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/interfaces/listmanager.py b/src/mailman/interfaces/listmanager.py
index 771eabd70..2c7208496 100644
--- a/src/mailman/interfaces/listmanager.py
+++ b/src/mailman/interfaces/listmanager.py
@@ -143,10 +143,11 @@ class IListManager(Interface):
"""An iterator over the 2-tuple of (list_name, mail_host) for all
mailing lists managed by this list manager.""")
- def find(**filters):
+ def find(*, advertised=None, mail_host=None):
"""Search for mailing lists matching some criteria.
- The filters are mailing list properties that will be filtered upon.
+ The keyword arguments are mailing list properties that will be
+ filtered upon.
:return: The list of filtered mailing lists.
:rtype: list of `IMailingList`