python/retrace: Process the call no passed to --to option inclusively.

This commit is contained in:
José Fonseca 2009-07-16 19:34:44 +01:00
parent cf7e8fbc2e
commit 2ba98efdf6

View file

@ -677,7 +677,7 @@ class Interpreter(parser.TraceDumper):
self.interpret_call(call)
def handle_call(self, call):
if self.options.stop and call.no >= self.options.stop:
if self.options.stop and call.no > self.options.stop:
sys.exit(0)
if (call.klass, call.method) in self.ignore_calls: