projects
/
kconfig-hardened-check.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Print the type of a check in the json mode
[kconfig-hardened-check.git]
/
kconfig_hardened_check
/
__init__.py
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index f1de8195f258d88686bf9fab696f06aec8094716..3b19ce892e69036761f84f20dddf1900db6c24ff 100644
(file)
--- a/
kconfig_hardened_check/__init__.py
+++ b/
kconfig_hardened_check/__init__.py
@@
-626,7
+626,7
@@
def print_checklist(mode, checklist, with_results):
if mode == 'json':
opts = []
for o in checklist:
- opt = ['CONFIG_'+o.name, o.expected, o.decision, o.reason]
+ opt = ['CONFIG_'+o.name, o.
type, o.
expected, o.decision, o.reason]
if with_results:
opt.append(o.result)
opts.append(opt)