From 07f92dfc2d7358d2456a579adf345205fa86cfdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Eide?= Date: Mon, 5 Aug 2024 08:24:02 +0200 Subject: [PATCH] Remove statement with no effect --- src/ert/run_models/base_run_model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ert/run_models/base_run_model.py b/src/ert/run_models/base_run_model.py index c2623e2ea58..5f2b0a77223 100644 --- a/src/ert/run_models/base_run_model.py +++ b/src/ert/run_models/base_run_model.py @@ -314,8 +314,8 @@ def start_simulations_thread( self._completed_realizations_mask = [] failed = True exception = e - except UserWarning as e: - exception = e + except UserWarning: + pass except Exception as e: failed = True exception = e