##// END OF EJS Templates
profiling: add a missing argument to the ProgrammingError constructor...
Matt Harbison -
r44131:882e633a default
parent child Browse files
Show More
@@ -204,7 +204,7 b' class profile(object):'
204
204
205 If the profiler was already started, this has no effect."""
205 If the profiler was already started, this has no effect."""
206 if not self._entered:
206 if not self._entered:
207 raise error.ProgrammingError()
207 raise error.ProgrammingError(b'use a context manager to start')
208 if self._started:
208 if self._started:
209 return
209 return
210 self._started = True
210 self._started = True
General Comments 0
You need to be logged in to leave comments. Login now