From: Kurt B. Kaiser Date: Fri, 13 Jul 2001 00:07:42 +0000 (+0000) Subject: py-cvs-rel2_1 (Rev 1.15) merge - whitespace normalization X-Git-Tag: v2.2a3~1225 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5291d46755d4007517588145265cbfcc737fd252;p=thirdparty%2FPython%2Fcpython.git py-cvs-rel2_1 (Rev 1.15) merge - whitespace normalization --- diff --git a/Lib/idlelib/Debugger.py b/Lib/idlelib/Debugger.py index 267d39f4c2e5..e4591ff6df16 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)