Skip to content

Commit

Permalink
New version
Browse files Browse the repository at this point in the history
  • Loading branch information
histrio committed Jul 29, 2019
1 parent 13a8e98 commit b086cef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "kcare-qualys"
version = "0.1.14"
version = "0.1.15"
description = "The script marks vulnerabilities detected by Qualys, but patched by KernelCare as exceptions"
authors = ["Rinat Sabitov <rsabitov@cloudlinux.com>"]
license = "Apache-2.0"
Expand Down
4 changes: 3 additions & 1 deletion src/kcare_qualys.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ def wrapper(asset):
key = (asset.kernel_id, asset.patch_level)
if key not in _CACHE:
_CACHE[key] = clbl(asset)
else:
print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1111")
return _CACHE[key]
return wrapper

Expand Down Expand Up @@ -205,7 +207,7 @@ def get_latest(kernel):
return int(resp.text)


# @connection_wrapper
@connection_wrapper
def summary(args, qgc, keys):

if args.files:
Expand Down

0 comments on commit b086cef

Please sign in to comment.