Skip to content

Commit

Permalink
fix-11?
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Dec 19, 2024
1 parent 18e9fb2 commit fc0c2ba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ostap/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -980,7 +978,7 @@ def __exit__ ( self , *_ ) :
# @author Vanya BELYAEV [email protected]
# @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 )
Expand Down

0 comments on commit fc0c2ba

Please sign in to comment.