Commit 0189c010 authored by Guido van Rossum's avatar Guido van Rossum

Correct typo in new function get_breaks().

parent 816a9fbd
......@@ -255,7 +255,7 @@ class Bdb:
def get_breaks(self, filename, lineno):
return self.breaks.has_key(filename) and \
lineno in self.breaks[filename] and \
Breakpoint.bplist[filename, line] or []
Breakpoint.bplist[filename, lineno] or []
def get_file_breaks(self, filename):
if self.breaks.has_key(filename):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment