Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix 'restart' option in 'finished' dialog.

  • Loading branch information...
commit 1c696ed990c0b0a248cda4eccdbee73fb0922544 1 parent 3990880
@inducer authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  pudb/__init__.py
View
3  pudb/__init__.py
@@ -94,6 +94,9 @@ def runscript(mainpyfile, args=None, pre_run="", steal_output=False):
dbg.post_mortem = True
dbg.interaction(None, sys.exc_info(), show_exc_dialog=False)
+ if result == "restart":
+ break
+
pre_run = pre_run_edit.get_edit_text()
dbg.restart()
Please sign in to comment.
Something went wrong with that request. Please try again.