diff --git a/swh/lister/sourceforge/lister.py b/swh/lister/sourceforge/lister.py --- a/swh/lister/sourceforge/lister.py +++ b/swh/lister/sourceforge/lister.py @@ -386,14 +386,15 @@ match = re.search(rf".*/cvsroot/{project} co -P (.+)", text) if match is not None: module = match.group(1) - url = f"{cvs_base_url}/{project}/{module}" - hits.append( - SourceForgeListerEntry( - vcs=VcsNames(tool_name), - url=url, - last_modified=last_modified, + if module != "Attic": + url = f"{cvs_base_url}/{project}/{module}" + hits.append( + SourceForgeListerEntry( + vcs=VcsNames(tool_name), + url=url, + last_modified=last_modified, + ) ) - ) continue url = CLONE_URL_FORMAT.format( vcs=tool_name, diff --git a/swh/lister/sourceforge/tests/data/aaron.html b/swh/lister/sourceforge/tests/data/aaron.html --- a/swh/lister/sourceforge/tests/data/aaron.html +++ b/swh/lister/sourceforge/tests/data/aaron.html @@ -16,6 +16,7 @@ You can run a per-module CVS checkout via pserver protocol:
You can view a list of files or copy all the CVS repository data via rsync (the 1st command lists the files, the 2nd copies):