From: Alexander Popov Date: Mon, 14 Aug 2023 15:39:18 +0000 (+0300) Subject: Drop `if __name__ == "__main__"` from ./bin/kconfig-hardened-check X-Git-Tag: v0.6.6~92 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=316599f95c538278967ccecbcb4b6b10540ec6a2;p=kconfig-hardened-check.git Drop `if __name__ == "__main__"` from ./bin/kconfig-hardened-check It always runs as a main program. --- diff --git a/bin/kconfig-hardened-check b/bin/kconfig-hardened-check index beab71d..aad06b4 100755 --- 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()