summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLib/pdb.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index 865b5b5407..f56941e8d1 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -480,6 +480,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
# something went wrong
print >>self.stdout, \
'Breakpoint index %r is not a number' % args[0]
+ return
try:
cond = args[1]
except:
@@ -500,6 +501,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
# something went wrong
print >>self.stdout, \
'Breakpoint index %r is not a number' % args[0]
+ return
try:
count = int(args[1].strip())
except: