Show More
@@ -620,7 +620,11 b' class Pdb(OldPdb):' | |||
|
620 | 620 | Take a number as argument as an (optional) number of context line to |
|
621 | 621 | print""" |
|
622 | 622 | if arg: |
|
623 |
|
|
|
623 | try: | |
|
624 | context = int(arg) | |
|
625 | except ValueError as err: | |
|
626 | self.error(err) | |
|
627 | return | |
|
624 | 628 | self.print_stack_trace(context) |
|
625 | 629 | else: |
|
626 | 630 | self.print_stack_trace() |
General Comments 0
You need to be logged in to leave comments.
Login now