projects
/
kconfig-hardened-check.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix pylint E1101: Instance of 'OptCheck' has no 'type' member
[kconfig-hardened-check.git]
/
kernel_hardening_checker
/
engine.py
diff --git
a/kernel_hardening_checker/engine.py
b/kernel_hardening_checker/engine.py
index 64be2043b3f679c1d577dd92e4334ecbd1d794af..a810b98b450008baf0601bff08606099105f5d88 100644
(file)
--- a/
kernel_hardening_checker/engine.py
+++ b/
kernel_hardening_checker/engine.py
@@
-1,4
+1,4
@@
-#!/usr/bin/python3
+#!/usr/bin/
env
python3
"""
This tool is for checking the security hardening options of the Linux kernel.
"""
This tool is for checking the security hardening options of the Linux kernel.
@@
-57,6
+57,10
@@
class OptCheck:
self.state = None
self.result = None
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':
def check(self):
# handle the 'is present' check
if self.expected == 'is present':