summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/listinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Cgi/listinfo.py')
-rw-r--r--Mailman/Cgi/listinfo.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Mailman/Cgi/listinfo.py b/Mailman/Cgi/listinfo.py
index b43d10f91..13689b767 100644
--- a/Mailman/Cgi/listinfo.py
+++ b/Mailman/Cgi/listinfo.py
@@ -82,10 +82,7 @@ def listinfo_overview(msg=''):
# Skip any mailing lists that isn't advertised.
advertised = []
- listnames = list(Utils.list_names())
- listnames.sort()
-
- for name in listnames:
+ for name in sorted(config.list_manager.names):
mlist = MailList.MailList(name, lock=False)
if mlist.advertised:
if hostname not in mlist.web_page_url: