diff --git a/etc/default_data.json b/etc/default_data.json index 3884a641c..19036d5be 100644 --- a/etc/default_data.json +++ b/etc/default_data.json @@ -30082,7 +30082,6 @@ "https://lists.opnfv.org/pipermail/fds-dev/", "https://lists.opnfv.org/pipermail/infra-wg/", "https://lists.opnfv.org/pipermail/mano-wg/", - "https://lists.opnfv.org/pipermail/odl-wg/", "https://lists.opnfv.org/pipermail/openstack-dev/", "https://lists.opnfv.org/pipermail/opnfv-enduser-advisory-group/", "https://lists.opnfv.org/pipermail/opnfv-project-leads/", diff --git a/stackalytics/processor/mls.py b/stackalytics/processor/mls.py index b05be3dcc..54d13e432 100644 --- a/stackalytics/processor/mls.py +++ b/stackalytics/processor/mls.py @@ -54,6 +54,10 @@ TRAILING_RECORD = ('From ishakhat at mirantis.com Tue Sep 17 07:30:43 2013\n' def _get_mail_archive_links(uri): content = utils.read_uri(uri) + if not content: + LOG.warning('Mail archive list is not found at %s', uri) + return [] + links = set(re.findall(r'\shref\s*=\s*[\'"]([^\'"]*\.txt\.gz)', content, flags=re.IGNORECASE)) return [parse.urljoin(uri, link) for link in links]