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.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Mailman/Cgi/listinfo.py b/Mailman/Cgi/listinfo.py
index 5087d23c9..297c33fe4 100644
--- a/Mailman/Cgi/listinfo.py
+++ b/Mailman/Cgi/listinfo.py
@@ -83,9 +83,7 @@ def listinfo_overview(msg=''):
mlist = MailList.MailList(name, lock=0)
if mlist.advertised:
if mm_cfg.VIRTUAL_HOST_OVERVIEW and \
- hostname and \
- hostname.find(mlist.web_page_url) == -1 and \
- mlist.web_page_url.find(hostname) == -1:
+ mlist.web_page_url.find(hostname) == -1:
# List is for different identity of this host - skip it.
continue
else: