From 4f9987aa91ddde4aff66ed9cb85b3c34d7c71dae Mon Sep 17 00:00:00 2001 From: Manish Gill Date: Tue, 9 Apr 2013 22:30:55 +0530 Subject: list searching by domain fixed --- src/mailman/commands/cli_lists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mailman/commands/cli_lists.py') diff --git a/src/mailman/commands/cli_lists.py b/src/mailman/commands/cli_lists.py index a9408bd45..97dc732eb 100644 --- a/src/mailman/commands/cli_lists.py +++ b/src/mailman/commands/cli_lists.py @@ -90,7 +90,7 @@ class Lists: mlist = list_manager.get(fqdn_name) if args.advertised and not mlist.advertised: continue - domains = getattr(args, 'domains', None) + domains = getattr(args, 'domain', None) if domains and mlist.mail_host not in domains: continue mailing_lists.append(mlist) -- cgit v1.2.3-70-g09d2