diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2001-07-13 00:07:42 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2001-07-13 00:07:42 (GMT) |
commit | 5291d46755d4007517588145265cbfcc737fd252 (patch) | |
tree | e88b2822b017d76923de844fa0f039a95d2dd1d9 /Lib/idlelib/Debugger.py | |
parent | 6df4bf28649590a673acf8ff33986db47ca39d0c (diff) | |
download | cpython-5291d46755d4007517588145265cbfcc737fd252.zip cpython-5291d46755d4007517588145265cbfcc737fd252.tar.gz cpython-5291d46755d4007517588145265cbfcc737fd252.tar.bz2 |
py-cvs-rel2_1 (Rev 1.15) merge - whitespace normalization
Diffstat (limited to 'Lib/idlelib/Debugger.py')
-rw-r--r-- | Lib/idlelib/Debugger.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/idlelib/Debugger.py b/Lib/idlelib/Debugger.py index 267d39f..e4591ff 100644 --- a/Lib/idlelib/Debugger.py +++ b/Lib/idlelib/Debugger.py @@ -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) |