mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +00:00
minor cleanup, avoiding rare traceback (jvr)
This commit is contained in:
parent
532998e00d
commit
cee9a48ea8
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class Debugger(bdb.Bdb):
|
||||||
self.set_quit()
|
self.set_quit()
|
||||||
self.clear_tracefuncs()
|
self.clear_tracefuncs()
|
||||||
self.continuewithoutdebugger = 1
|
self.continuewithoutdebugger = 1
|
||||||
if self.w.parent:
|
if hasattr(self, "w") and self.w.parent:
|
||||||
self.exit_mainloop()
|
self.exit_mainloop()
|
||||||
self.resetwidgets()
|
self.resetwidgets()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue