Skip to content

Commit 5ef6840

Browse files
committed
Avoid skipping some versions in Gentoo importer
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent 002300d commit 5ef6840

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

vulnerabilities/pipelines/v2_importers/gentoo_importer.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,9 @@ def get_affected_and_safe_purls(affected_elem):
166166

167167

168168
def get_safe_and_affected_constraints(pkg):
169-
# TODO : Revisit why we are skipping some versions in gentoo importer
170-
skip_versions = {"1.3*", "7.3*", "7.4*"}
171169
safe_versions = set()
172170
affected_versions = set()
173171
for info in pkg:
174-
if info.text in skip_versions:
175-
continue
176-
177172
# All possible values of info.attrib['range'] =
178173
# {'gt', 'lt', 'rle', 'rge', 'rgt', 'le', 'ge', 'eq'}, out of
179174
# which ('rle', 'rge', 'rgt') are ignored, because they compare

0 commit comments

Comments
 (0)