summaryrefslogtreecommitdiff
path: root/src/mailman/commands/cli_lists.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-06-16 16:46:02 -0400
committerBarry Warsaw2011-06-16 16:46:02 -0400
commita8722b736a9070288f9bd62b8650f9e682a33ea6 (patch)
tree0d2a9342963d9b81af5cd822c571beefda29b7a2 /src/mailman/commands/cli_lists.py
parent3c99f28d219596434e8547df95e7041e2cf21fb7 (diff)
downloadmailman-a8722b736a9070288f9bd62b8650f9e682a33ea6.tar.gz
mailman-a8722b736a9070288f9bd62b8650f9e682a33ea6.tar.zst
mailman-a8722b736a9070288f9bd62b8650f9e682a33ea6.zip
Diffstat (limited to 'src/mailman/commands/cli_lists.py')
-rw-r--r--src/mailman/commands/cli_lists.py2
1 files changed, 1 insertions, 1 deletions
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.