diff --git a/support/scripts/cve.py b/support/scripts/cve.py index 5af6e0c43f..18fda8e1a1 100755 --- a/support/scripts/cve.py +++ b/support/scripts/cve.py @@ -111,12 +111,6 @@ class CVE: with open(os.path.join(dirpath, filename), "rb") as f: yield cls(json.load(f)) - def each_product(self): - """Iterate over each product section of this cve""" - for vendor in self.nvd_cve['cve']['affects']['vendor']['vendor_data']: - for product in vendor['product']['product_data']: - yield product - def parse_node(self, node): """ Parse the node inside the configurations section to extract the