diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-01-17 08:48:39 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-01-17 08:48:39 (GMT) |
commit | 70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7 (patch) | |
tree | cf47b67db3753288cfd9fa2adc45e7c5cd2f8741 /Tools/idle/Debugger.py | |
parent | a88854059309667092000da55d4d5a5804267e9f (diff) | |
download | cpython-70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7.zip cpython-70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7.tar.gz cpython-70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Tools/idle/Debugger.py')
-rw-r--r-- | Tools/idle/Debugger.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/idle/Debugger.py b/Tools/idle/Debugger.py index 267d39f..e4591ff 100644 --- a/Tools/idle/Debugger.py +++ b/Tools/idle/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) |