Commit 5291d467 authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

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

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