diff options
author | Georg Brandl <georg@python.org> | 2007-03-11 08:28:46 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-03-11 08:28:46 (GMT) |
commit | b27831887f84c8ef9326453572e750cdf225edcc (patch) | |
tree | 6fef5995c332b73fe8259491a1b71d0b69c4d506 | |
parent | ae04106a0ebf271b4c4f3ce04c1ee84cab9b43fe (diff) | |
download | cpython-b27831887f84c8ef9326453572e750cdf225edcc.zip cpython-b27831887f84c8ef9326453572e750cdf225edcc.tar.gz cpython-b27831887f84c8ef9326453572e750cdf225edcc.tar.bz2 |
Add missing "return" statements in exception handler.
-rwxr-xr-x | Lib/pdb.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |