##// END OF EJS Templates
ipdb: fix ULE when running 'context' without argument
Blazej Michalik -
Show More
@@ -815,9 +815,9 b' class Pdb(OldPdb):'
815 new_context = int(context)
815 new_context = int(context)
816 if new_context <= 0:
816 if new_context <= 0:
817 raise ValueError()
817 raise ValueError()
818 self.context = new_context
818 except ValueError:
819 except ValueError:
819 self.error("The 'context' command requires a positive integer argument.")
820 self.error("The 'context' command requires a positive integer argument.")
820 self.context = new_context
821
821
822
822
823 class InterruptiblePdb(Pdb):
823 class InterruptiblePdb(Pdb):
General Comments 0
You need to be logged in to leave comments. Login now