Skip to content

Commit

Permalink
fixed bug where we forgot to convert to version
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3Rabbit committed Feb 15, 2024
1 parent 878d27a commit 139d290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/software.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ def enrich_versions(item):
try:
# ensure version field uses valid format
if match['name'] == 'openssl':
version = ''.join(["+" + str(c) if c.isalpha() else c for c in match['version']])
version = packaging.version.Version(''.join(["+" + str(c) if c.isalpha() else c for c in match['version']]))
else:
version = packaging.version.Version(match['version'])
except:
Expand Down

0 comments on commit 139d290

Please sign in to comment.