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:
b12077a
)
ComplexOptCheck type has the type of the first opt in it
author
Alexander Popov
<alex.popov@linux.com>
Sat, 22 Jan 2022 21:33:04 +0000
(
00:33
+0300)
committer
Alexander Popov
<alex.popov@linux.com>
Sat, 22 Jan 2022 21:33:04 +0000
(
00:33
+0300)
kconfig_hardened_check/__init__.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index ae51ca0bcbf913d956f6ccfc78c3af166ef784f9..f1de8195f258d88686bf9fab696f06aec8094716 100644
(file)
--- a/
kconfig_hardened_check/__init__.py
+++ b/
kconfig_hardened_check/__init__.py
@@
-176,6
+176,10
@@
class ComplexOptCheck:
def name(self):
return self.opts[0].name
+ @property
+ def type(self):
+ return self.opts[0].type
+
@property
def expected(self):
return self.opts[0].expected