From a8722b736a9070288f9bd62b8650f9e682a33ea6 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 16 Jun 2011 16:46:02 -0400 Subject: * The IMailingList attribute ``host_name`` has been renamed to ``mail_host`` for consistency. This changes the REST API for mailing list resources. (LP: #787599) --- 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 8acf0c272..a2df63031 100644 --- a/src/mailman/commands/cli_lists.py +++ b/src/mailman/commands/cli_lists.py @@ -92,7 +92,7 @@ class Lists: if args.advertised and not mlist.advertised: continue domains = getattr(args, 'domains', None) - if domains and mlist.host_name not in domains: + if domains and mlist.mail_host not in domains: continue mailing_lists.append(mlist) # Maybe no mailing lists matched. -- cgit v1.2.3-70-g09d2