##// END OF EJS Templates
profiling: disable the import-error warning for the flamegraph module...
Matt Harbison -
r44130:6c8ba314 default
parent child Browse files
Show More
@@ -77,7 +77,7 b' def lsprofile(ui, fp):'
77 @contextlib.contextmanager
77 @contextlib.contextmanager
78 def flameprofile(ui, fp):
78 def flameprofile(ui, fp):
79 try:
79 try:
80 from flamegraph import flamegraph
80 from flamegraph import flamegraph # pytype: disable=import-error
81 except ImportError:
81 except ImportError:
82 raise error.Abort(
82 raise error.Abort(
83 _(
83 _(
General Comments 0
You need to be logged in to leave comments. Login now