Skip to content

Commit e836058

Browse files
authored
Remove regex that was catching false positive versions in python checker (#1202)
1 parent dfe0c71 commit e836058

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cve_bin_tool/checkers/python.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def get_version(self, lines, filename):
4949
# else guess was unknown so we update our regex
5050
elif version_info:
5151
version_pattern = [
52-
r"Version: ([23]+\.[0-9]+\.[0-9])+",
5352
r"version: ([23]+\.[0-9]+\.[0-9])+",
5453
r"Python ([23]+\.[0-9]+\.[0-9])+",
5554
]

0 commit comments

Comments
 (0)