mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-25 08:43:36 +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 app_ in apps.values():
|
||||
if cve_packages & app_['packages']:
|
||||
app['count'] += 1
|
||||
app_['count'] += 1
|
||||
|
||||
return apps
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user