mirror of
https://github.com/python/cpython.git
synced 2024-11-26 19:34:19 +08:00
Normalize whitespace.
This commit is contained in:
parent
ff02e1ddde
commit
668361766a
@ -86,16 +86,16 @@ class Bdb: # Basic Debugger
|
|||||||
return 0
|
return 0
|
||||||
|
|
||||||
def break_here(self, frame):
|
def break_here(self, frame):
|
||||||
filename=frame.f_code.co_filename
|
filename=frame.f_code.co_filename
|
||||||
if not self.breaks.has_key(filename):
|
if not self.breaks.has_key(filename):
|
||||||
return 0
|
return 0
|
||||||
lineno=frame.f_lineno
|
lineno=frame.f_lineno
|
||||||
if not lineno in self.breaks[filename]:
|
if not lineno in self.breaks[filename]:
|
||||||
return 0
|
return 0
|
||||||
if self.cbreaks.has_key((filename, lineno)):
|
if self.cbreaks.has_key((filename, lineno)):
|
||||||
cond=self.cbreaks[filename, lineno]
|
cond=self.cbreaks[filename, lineno]
|
||||||
return eval(cond, frame.f_globals,
|
return eval(cond, frame.f_globals,
|
||||||
frame.f_locals)
|
frame.f_locals)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
def break_anywhere(self, frame):
|
def break_anywhere(self, frame):
|
||||||
|
Loading…
Reference in New Issue
Block a user