[Python-checkins] r54269 - python/branches/release25-maint/Lib/pdb.py
georg.brandl
python-checkins at python.org
Sun Mar 11 09:28:51 CET 2007
Author: georg.brandl
Date: Sun Mar 11 09:28:50 2007
New Revision: 54269
Modified:
python/branches/release25-maint/Lib/pdb.py
Log:
Add missing "return" statements in exception handler.
(backport from rev. 54268)
Modified: python/branches/release25-maint/Lib/pdb.py
==============================================================================
--- python/branches/release25-maint/Lib/pdb.py (original)
+++ python/branches/release25-maint/Lib/pdb.py Sun Mar 11 09:28:50 2007
@@ -480,6 +480,7 @@
# 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 @@
# something went wrong
print >>self.stdout, \
'Breakpoint index %r is not a number' % args[0]
+ return
try:
count = int(args[1].strip())
except:
More information about the Python-checkins
mailing list