commit | d28d9c8221136a37e47eac569fd7a508c3c946e3 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Mar 11 08:28:50 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Mar 11 08:28:50 2007 +0000 |
tree | c4abdaddffd2793a20e076e5e7e5ac02d004b593 | |
parent | 69fe9e478f5fac59b9a8bca5a317d9212c790e96 [diff] [blame] |
Add missing "return" statements in exception handler. (backport from rev. 54268)
diff --git a/Lib/pdb.py b/Lib/pdb.py index f7fce26..f08241f 100755 --- a/Lib/pdb.py +++ b/Lib/pdb.py
@@ -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: