]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
py-cvs-rel2_1 (Rev 1.15) merge - whitespace normalization
authorKurt B. Kaiser <kbk@shore.net>
Fri, 13 Jul 2001 00:07:42 +0000 (00:07 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Fri, 13 Jul 2001 00:07:42 +0000 (00:07 +0000)
Lib/idlelib/Debugger.py

index 267d39f4c2e51fd9634e9f9436017d3791eaaef2..e4591ff6df168d2431bf16add1444877c5715966 100644 (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)