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:
1d054d2
)
Fix pylint E1101: Instance of 'OptCheck' has no 'type' member
author
Alexander Popov
<alex.popov@linux.com>
Tue, 16 Jan 2024 04:24:32 +0000
(07:24 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Tue, 16 Jan 2024 04:24:32 +0000
(07:24 +0300)
kernel_hardening_checker/engine.py
patch
|
blob
|
history
diff --git
a/kernel_hardening_checker/engine.py
b/kernel_hardening_checker/engine.py
index 4e4eee91b413c1b1f1408b92645e285a9aab1539..a810b98b450008baf0601bff08606099105f5d88 100644
(file)
--- a/
kernel_hardening_checker/engine.py
+++ b/
kernel_hardening_checker/engine.py
@@
-57,6
+57,10
@@
class OptCheck:
self.state = None
self.result = None
+ @property
+ def type(self):
+ return None
+
def check(self):
# handle the 'is present' check
if self.expected == 'is present':