mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
security: Fixup refactoring
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
64eac18873
commit
1df4f19801
@ -147,6 +147,6 @@ def get_vulnerability_counts():
|
|||||||
for cve_packages in cves.values():
|
for cve_packages in cves.values():
|
||||||
for app_ in apps.values():
|
for app_ in apps.values():
|
||||||
if cve_packages & app_['packages']:
|
if cve_packages & app_['packages']:
|
||||||
app['count'] += 1
|
app_['count'] += 1
|
||||||
|
|
||||||
return apps
|
return apps
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user