Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kernel-hardening-checker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
kernel-hardening-checker
Commits
67b39125
Commit
67b39125
authored
a year ago
by
Alexander Popov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix style (II)
parent
504d6943
master
…
v0.6.6
No related merge requests found
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
__init__.py
kernel_hardening_checker/__init__.py
+1
-1
test_engine.py
kernel_hardening_checker/test_engine.py
+0
-0
setup.py
setup.py
+1
-1
No files found.
kernel_hardening_checker/__init__.py
View file @
67b39125
...
...
@@ -23,7 +23,7 @@ from .engine import populate_with_data, perform_checks, override_expected_value
def
_open
(
file
:
str
,
*
args
,
**
kwargs
):
open_method
=
open
if
file
.
endswith
(
".gz"
):
if
file
.
endswith
(
'.gz'
):
open_method
=
gzip
.
open
return
open_method
(
file
,
*
args
,
**
kwargs
)
...
...
This diff is collapsed.
Click to expand it.
kernel_hardening_checker/test_engine.py
View file @
67b39125
This diff is collapsed.
Click to expand it.
setup.py
View file @
67b39125
...
...
@@ -3,7 +3,7 @@
from
setuptools
import
setup
about
=
{}
with
open
(
"kernel_hardening_checker/__about__.py"
)
as
f
:
with
open
(
'kernel_hardening_checker/__about__.py'
)
as
f
:
exec
(
f
.
read
(),
about
)
print
(
'v: "{}"'
.
format
(
about
[
'__version__'
]))
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment