merge with 3.3
This commit is contained in:
commit
979541935a
|
@ -798,6 +798,8 @@ class Pdb(bdb.Bdb, cmd.Cmd):
|
|||
cond = None
|
||||
try:
|
||||
bp = self.get_bpbynumber(args[0].strip())
|
||||
except IndexError:
|
||||
self.error('Breakpoint number expected')
|
||||
except ValueError as err:
|
||||
self.error(err)
|
||||
else:
|
||||
|
@ -825,6 +827,8 @@ class Pdb(bdb.Bdb, cmd.Cmd):
|
|||
count = 0
|
||||
try:
|
||||
bp = self.get_bpbynumber(args[0].strip())
|
||||
except IndexError:
|
||||
self.error('Breakpoint number expected')
|
||||
except ValueError as err:
|
||||
self.error(err)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue