Mercurial > hg
changeset 43731:6c8ba31405d9
profiling: disable the import-error warning for the flamegraph module
The module being missing is properly handled, but pytype was complaining.
Differential Revision: https://phab.mercurial-scm.org/D7469
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 21 Nov 2019 15:38:23 -0500 |
parents | d18cf63e1dbd |
children | 882e633ac92c |
files | mercurial/profiling.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/profiling.py Thu Nov 21 15:31:33 2019 -0500 +++ b/mercurial/profiling.py Thu Nov 21 15:38:23 2019 -0500 @@ -77,7 +77,7 @@ @contextlib.contextmanager def flameprofile(ui, fp): try: - from flamegraph import flamegraph + from flamegraph import flamegraph # pytype: disable=import-error except ImportError: raise error.Abort( _(