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