Don't check __name__ in __init__.py (it can't run separately anyway)
authorAlexander Popov <alex.popov@linux.com>
Wed, 8 Jun 2022 22:54:42 +0000 (01:54 +0300)
committerAlexander Popov <alex.popov@linux.com>
Wed, 8 Jun 2022 22:54:42 +0000 (01:54 +0300)
kconfig_hardened_check/__init__.py

index 59fe71dc5e0ba0a7db2c0609cbf20383b1a5d919..d1c77d0cc64339ed277e32adcd39f4742948571b 100644 (file)
@@ -904,6 +904,3 @@ def main():
 
     parser.print_help()
     sys.exit(0)
-
-if __name__ == '__main__':
-    main()