Submitter | phabricator |
---|---|
Date | Nov. 21, 2019, 11:23 p.m. |
Message ID | <differential-rev-PHID-DREV-zxh5adwnfcfhqn7ryjdb-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/43394/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/profiling.py b/mercurial/profiling.py --- a/mercurial/profiling.py +++ b/mercurial/profiling.py @@ -204,7 +204,7 @@ If the profiler was already started, this has no effect.""" if not self._entered: - raise error.ProgrammingError() + raise error.ProgrammingError(b'use a context manager to start') if self._started: return self._started = True