Mercurial > hg
diff mercurial/lsprof.py @ 32810:6675d23da748
profile: properly propagate exception from the sub-context manager
Context manager has a mechanism to control extension propagation. It is not
used by profiling right now, but making the code correct will help prevent bug
in the future.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 12 Jun 2017 17:24:10 +0200 |
parents | b1a59b80e1a3 |
children | d4e5b2653693 |