py-cvs-rel2_1 (Rev 1.15) merge - whitespace normalization

This commit is contained in:
Kurt B. Kaiser 2001-07-13 00:07:42 +00:00
parent 6df4bf2864
commit 5291d46755
1 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ class Debugger(bdb.Bdb):
bdb.Bdb.__init__(self)
self.pyshell = pyshell
self.make_gui()
def canonic(self, filename):
# Canonicalize filename -- called by Bdb
return os.path.normcase(os.path.abspath(filename))
@ -299,10 +299,10 @@ class Debugger(bdb.Bdb):
import linecache # Import as late as possible
line = linecache.getline(filename, lineno)
if not line:
return 'That line does not exist!'
return 'That line does not exist!'
if not self.breaks.has_key(filename):
self.breaks[filename] = []
self.breaks[filename] = []
list = self.breaks[filename]
if not lineno in list:
list.append(lineno)
list.append(lineno)
bp = bdb.Breakpoint(filename, lineno, temporary, cond)