From fc0c2ba76a190610ce3cb75de7cf4ca8b2b45d57 Mon Sep 17 00:00:00 2001 From: Vanya Belyaev Date: Thu, 19 Dec 2024 15:36:55 +0100 Subject: [PATCH] fix-11? --- ostap/core/core.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ostap/core/core.py b/ostap/core/core.py index d144526c..ae0a6f69 100644 --- a/ostap/core/core.py +++ b/ostap/core/core.py @@ -970,8 +970,6 @@ def __exit__ ( self , *_ ) : self._svc.setSilentMode ( self._prev_silent ) self._svc.setGlobalKillBelow ( self._prev_level ) - - # ============================================================================= ## very simple context manager to suppress ROOT printout # @code @@ -980,7 +978,7 @@ def __exit__ ( self , *_ ) : # @author Vanya BELYAEV Ivan.Belyaev@itep.ru # @date 2015-07-30 def rootError ( level = 1 ) : - """Very simple context manager to suppress ROOT printout + """ Very simple context manager to suppress ROOT printout >>> with rootError () : some_ROOT_code_here() """ return ROOTIgnore ( ROOT.kError + level )