From: Georg Brandl Date: Sun, 11 Mar 2007 08:28:46 +0000 (+0000) Subject: Add missing "return" statements in exception handler. X-Git-Tag: v2.6a1~2053 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b27831887f84c8ef9326453572e750cdf225edcc;p=thirdparty%2FPython%2Fcpython.git Add missing "return" statements in exception handler. --- diff --git a/Lib/pdb.py b/Lib/pdb.py index 865b5b540783..f56941e8d181 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: