From: Alexander Popov Date: Wed, 8 Jun 2022 22:54:42 +0000 (+0300) Subject: Don't check __name__ in __init__.py (it can't run separately anyway) X-Git-Tag: v0.6.1~140 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=98fb9d9758e6286d8ba82e834958806b8ea78211;p=kconfig-hardened-check.git Don't check __name__ in __init__.py (it can't run separately anyway) --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 59fe71d..d1c77d0 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -904,6 +904,3 @@ def main(): parser.print_help() sys.exit(0) - -if __name__ == '__main__': - main()