From db6f6f3d7658ad53fa3b8f928f66002101c818f2 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Thu, 30 Dec 2021 12:21:48 +0200 Subject: [PATCH] Fix multi-processing context block catching exception --- clearml/utilities/process/mp.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/clearml/utilities/process/mp.py b/clearml/utilities/process/mp.py index 2e69f191..6c035926 100644 --- a/clearml/utilities/process/mp.py +++ b/clearml/utilities/process/mp.py @@ -62,8 +62,6 @@ class ForkSafeRLock(object): """Raise any exception triggered within the runtime context.""" # Do whatever cleanup. self.release() - if any((exc_type, exc_value, traceback,)): - raise (exc_type, exc_value, traceback) class ThreadCalls(object): @@ -326,8 +324,6 @@ class SingletonLock(AbstractContextManager): """Raise any exception triggered within the runtime context.""" # Do whatever cleanup. self.release() - if any((exc_type, exc_value, traceback,)): - raise (exc_type, exc_value, traceback) class BackgroundMonitor(object):