diff options
Diffstat (limited to 'Mailman/Commands/cmd_lists.py')
| -rw-r--r-- | Mailman/Commands/cmd_lists.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Mailman/Commands/cmd_lists.py b/Mailman/Commands/cmd_lists.py index 10e8aad71..6d23d4745 100644 --- a/Mailman/Commands/cmd_lists.py +++ b/Mailman/Commands/cmd_lists.py @@ -21,8 +21,8 @@ """ from Mailman import mm_cfg -from Mailman import Utils from Mailman.MailList import MailList +from Mailman.configuration import config from Mailman.i18n import _ @@ -43,10 +43,8 @@ def process(res, args): return STOP hostname = mlist.host_name res.results.append(_('Public mailing lists at %(hostname)s:')) - lists = Utils.list_names() - lists.sort() i = 1 - for listname in lists: + for listname in sorted(config.list_manager.names): if listname == mlist.internal_name(): xlist = mlist else: |
