Skip to content

Commit

Permalink
chg: [website] Make mypy happy again.
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Jul 11, 2024
1 parent fe5239e commit 4e4ded2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/web/views/home.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,10 @@ def feed_recent(
).items()
]
elif vendor:
# FIXME: improve and return sorted result
# FIXME: improve and return a sorted result
vendor_vulnerabilities = vulnerabilitylookup.get_vendor_vulnerabilities(vendor)
vulnerabilities = [
(vuln_id, vulnerabilitylookup.get_vulnerability(vuln_id, with_meta=False))
(vuln_id, vulnerabilitylookup.get_vulnerability(vuln_id, with_meta=False)) # type: ignore[misc]
for vuln_id in islice(
vendor_vulnerabilities, (page * per_page) - per_page, (page * per_page)
)
Expand Down

0 comments on commit 4e4ded2

Please sign in to comment.