From a9b2ccad429ec7e7319a25283a6521105e611629 Mon Sep 17 00:00:00 2001 From: gobbo_a Date: Wed, 24 Aug 2022 15:18:00 +0200 Subject: [PATCH] Script execution --- script/local.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/script/local.py b/script/local.py index 117ba11..3caa26c 100644 --- a/script/local.py +++ b/script/local.py @@ -15,12 +15,6 @@ mp_fork = mp.get_context('fork') -def no_exit(code): - raise Exception("System exit with code: " + str(code)) -sys.exit = no_exit - - - #Workaround for zmq being a java package and having priority for import over python zmq package from importlib._bootstrap import _load from importlib import util @@ -111,7 +105,7 @@ class MockBackgroundManager: def dont_exit(status): - print ("Exit status: ", status) + print ("System Exit status: ", status) sys.exit = dont_exit