projects
/
kconfig-hardened-check.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Additional check for TYPES_OF_CHECKS
[kconfig-hardened-check.git]
/
kconfig_hardened_check
/
__init__.py
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index 79a93dcad4eded434798440313924bbc845bebe9..04121d412f7093cbe9c2d27f9d10c6317b193ad4 100644
(file)
--- a/
kconfig_hardened_check/__init__.py
+++ b/
kconfig_hardened_check/__init__.py
@@
-715,6
+715,8
@@
def populate_simple_opt_with_data(opt, data, data_type):
opt.state = data.get(opt.name, None)
elif data_type == 'version':
opt.ver = data
+ else:
+ sys.exit('[!] ERROR: unexpected data type "{}"'.format(data_type))
def populate_opt_with_data(opt, data, data_type):