Skip to content

Commit

Permalink
fix: blacken cve_bin_tool/data_sources/osv_source.py
Browse files Browse the repository at this point in the history
  • Loading branch information
terriko authored Oct 24, 2023
1 parent 876ecc7 commit ff96d43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cve_bin_tool/data_sources/osv_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ def format_data(self, all_cve_entries):

product = package.get("name")
vendor = (
"unknown"
) # OSV Schema does not provide vendor names for packages
"unknown" # OSV Schema does not provide vendor names for packages
)

if product.startswith("github.com/"):
vendor = product.split("/")[-2]
Expand Down

0 comments on commit ff96d43

Please sign in to comment.