From 0189c010c30d62147793057b83eb539592e117bd Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 25 Jan 1999 20:56:33 +0000 Subject: Correct typo in new function get_breaks(). --- Lib/bdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/bdb.py b/Lib/bdb.py index bc38607..9fbd844 100644 --- a/Lib/bdb.py +++ b/Lib/bdb.py @@ -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): -- cgit v0.12