##// END OF EJS Templates
existence of old_all_completions checked in debugger exit
vivainio -
Show More
@@ -15,7 +15,7 b' details on the PSF (Python Software Foundation) standard license, see:'
15
15
16 http://www.python.org/2.2.3/license.html
16 http://www.python.org/2.2.3/license.html
17
17
18 $Id: Debugger.py 1853 2006-10-30 17:00:39Z vivainio $"""
18 $Id: Debugger.py 1951 2006-11-29 07:56:47Z vivainio $"""
19
19
20 #*****************************************************************************
20 #*****************************************************************************
21 #
21 #
@@ -212,7 +212,11 b' class Pdb(OldPdb):'
212 __IPYTHON__.set_completer_frame(self.curframe)
212 __IPYTHON__.set_completer_frame(self.curframe)
213
213
214 def new_do_quit(self, arg):
214 def new_do_quit(self, arg):
215 __IPYTHON__.Completer.all_completions=self.old_all_completions
215
216 if hasattr(self, 'old_all_completions'):
217 __IPYTHON__.Completer.all_completions=self.old_all_completions
218
219
216 return OldPdb.do_quit(self, arg)
220 return OldPdb.do_quit(self, arg)
217
221
218 do_q = do_quit = decorate_fn_with_doc(new_do_quit, OldPdb.do_quit)
222 do_q = do_quit = decorate_fn_with_doc(new_do_quit, OldPdb.do_quit)
General Comments 0
You need to be logged in to leave comments. Login now