From 2b5793ff63be429690830bd3285658b1aa2022e7 Mon Sep 17 00:00:00 2001 From: heck Date: Tue, 27 Oct 2020 19:58:39 +0100 Subject: [PATCH] PYADPT-87 - "Drop usless `__main__` part form module" --- src/pEp/__init__.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/pEp/__init__.py b/src/pEp/__init__.py index 1af6eac..24c1c06 100755 --- a/src/pEp/__init__.py +++ b/src/pEp/__init__.py @@ -56,13 +56,4 @@ def notify_handshake(me, partner, signal): print("overwrite this method") -# Executed when run as script -def main(): - print("I am being run as a script") - - -# MAIN -if __name__ == "__main__": - main() -else: - init() +init()