diff --git a/vulnerabilities/importers/__init__.py b/vulnerabilities/importers/__init__.py index b0794564d..70a42646b 100644 --- a/vulnerabilities/importers/__init__.py +++ b/vulnerabilities/importers/__init__.py @@ -8,6 +8,7 @@ # from vulnerabilities.importers import alpine_linux +from vulnerabilities.importers import archlinux from vulnerabilities.importers import debian from vulnerabilities.importers import github from vulnerabilities.importers import gitlab @@ -17,7 +18,6 @@ from vulnerabilities.importers import pypa from vulnerabilities.importers import pysec from vulnerabilities.importers import redhat -from vulnerabilities.importers import archlinux IMPORTERS_REGISTRY = [ nginx.NginxImporter, diff --git a/vulnerabilities/importers/archlinux.py b/vulnerabilities/importers/archlinux.py index 5d993e080..c24042d80 100644 --- a/vulnerabilities/importers/archlinux.py +++ b/vulnerabilities/importers/archlinux.py @@ -8,6 +8,7 @@ # import dataclasses import json +import pprint from typing import Iterable from typing import List from typing import Mapping @@ -15,7 +16,6 @@ from urllib.request import urlopen from packageurl import PackageURL -import pprint from vulnerabilities import severity_systems from vulnerabilities.importer import AdvisoryData @@ -31,7 +31,6 @@ from vulnerabilities.utils import fetch_response from vulnerabilities.utils import nearest_patched_package - # Take a URL -> Grab the data from the URL -> Map it according to AdvisoryData