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:
133e7a0
)
Drop `if __name__ == "__main__"` from ./bin/kconfig-hardened-check
author
Alexander Popov
<alex.popov@linux.com>
Mon, 14 Aug 2023 15:39:18 +0000
(18:39 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Mon, 14 Aug 2023 15:39:18 +0000
(18:39 +0300)
It always runs as a main program.
bin/kconfig-hardened-check
patch
|
blob
|
history
diff --git
a/bin/kconfig-hardened-check
b/bin/kconfig-hardened-check
index beab71d9726711dc188c8e199fb17eb98a68e8f4..aad06b48d10ab712d710fbdd1e4e0ff8e5d45737 100755
(executable)
--- a/
bin/kconfig-hardened-check
+++ b/
bin/kconfig-hardened-check
@@
-12,5
+12,4
@@
sys.path.insert(0, parent_dir)
import kconfig_hardened_check
-if __name__ == "__main__":
- kconfig_hardened_check.main()
+kconfig_hardened_check.main()