From 88176f08e67a8f6ad706f371167167e75d4a3e04 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Wed, 26 Oct 2016 10:30:58 +0200 Subject: Implement the review suggestions See !161 --- src/mailman/interfaces/listmanager.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mailman/interfaces/listmanager.py') 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` -- cgit v1.2.3-70-g09d2