##// END OF EJS Templates
Fix quitting debugger when readline not in use...
Thomas Kluyver -
Show More
@@ -303,7 +303,8 b' class Pdb(OldPdb):'
303 self.shell.Completer.all_completions=self.old_all_completions
303 self.shell.Completer.all_completions=self.old_all_completions
304
304
305 # Pdb sets readline delimiters, so set them back to our own
305 # Pdb sets readline delimiters, so set them back to our own
306 self.shell.readline.set_completer_delims(self.shell.readline_delims)
306 if self.shell.readline is not None:
307 self.shell.readline.set_completer_delims(self.shell.readline_delims)
307
308
308 return OldPdb.do_quit(self, arg)
309 return OldPdb.do_quit(self, arg)
309
310
General Comments 0
You need to be logged in to leave comments. Login now