diff options
| author | bwarsaw | 2002-05-17 23:23:40 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-05-17 23:23:40 +0000 |
| commit | fc1ef06ea90f7e30af625356426cae1c8da88ecb (patch) | |
| tree | ac0c074864f9596f2f182fa50e7f31f8b08256ae | |
| parent | 317bbbfd2acd18e1c219301b7b03942bcfca218d (diff) | |
| download | mailman-fc1ef06ea90f7e30af625356426cae1c8da88ecb.tar.gz mailman-fc1ef06ea90f7e30af625356426cae1c8da88ecb.tar.zst mailman-fc1ef06ea90f7e30af625356426cae1c8da88ecb.zip | |
| -rw-r--r-- | Mailman/Commands/cmd_lists.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Mailman/Commands/cmd_lists.py b/Mailman/Commands/cmd_lists.py index 0708df2a0..81b60e604 100644 --- a/Mailman/Commands/cmd_lists.py +++ b/Mailman/Commands/cmd_lists.py @@ -19,6 +19,7 @@ See a list of the public mailing lists on this GNU Mailman server. """ +from Mailman import mm_cfg from Mailman import Utils from Mailman.MailList import MailList from Mailman.i18n import _ @@ -52,6 +53,11 @@ def process(res, args): # We can mention this list if you already know about it if not xlist.advertised and xlist is not mlist: continue + # Skip the list if it isn't in the same virtual domain. BAW: should a + # message to the site list include everything regardless of domain? + if mm_cfg.VIRTUAL_HOST_OVERVIEW and \ + xlist.host_name <> mlist.host_name: + continue realname = xlist.real_name description = xlist.description or _('n/a') requestaddr = xlist.GetRequestEmail() |
