security: Fixup refactoring

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy 2019-07-29 19:42:18 -04:00
parent 64eac18873
commit 1df4f19801
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -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