Mercurial > hg
changeset 43732:882e633ac92c
profiling: add a missing argument to the ProgrammingError constructor
Differential Revision: https://phab.mercurial-scm.org/D7470
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 21 Nov 2019 15:39:03 -0500 |
parents | 6c8ba31405d9 |
children | 8ca92bcb3083 |
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:38:23 2019 -0500 +++ b/mercurial/profiling.py Thu Nov 21 15:39:03 2019 -0500 @@ -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