projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
544d784
)
Print the type of a check in the json mode
author
Alexander Popov
<alex.popov@linux.com>
Sat, 22 Jan 2022 21:34:01 +0000
(
00:34
+0300)
committer
Alexander Popov
<alex.popov@linux.com>
Sat, 22 Jan 2022 21:34:01 +0000
(
00:34
+0300)
kconfig_hardened_check/__init__.py
patch
|
blob
|
history
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)