##// END OF EJS Templates
Fix broken %pdb/%debug (signature of DisplayTrap changed)
Fernando Perez -
Show More
@@ -889,7 +889,7 b' class VerboseTB(TBTools):'
889 self.color_scheme_table.active_scheme_name)
889 self.color_scheme_table.active_scheme_name)
890 # the system displayhook may have changed, restore the original
890 # the system displayhook may have changed, restore the original
891 # for pdb
891 # for pdb
892 display_trap = DisplayTrap(None, sys.__displayhook__)
892 display_trap = DisplayTrap(hook=sys.__displayhook__)
893 with display_trap:
893 with display_trap:
894 self.pdb.reset()
894 self.pdb.reset()
895 # Find the right frame so we don't pop up inside ipython itself
895 # Find the right frame so we don't pop up inside ipython itself
General Comments 0
You need to be logged in to leave comments. Login now