diff options
author | Matt Wilson <msw@redhat.com> | 2000-08-17 18:11:05 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-08-17 18:11:05 +0000 |
commit | 43d47998ef1ba50cc52362cce5fb880011fa80e5 (patch) | |
tree | 96e11ef74e01015b4a0e5436f2f53c5b5b40ee99 /text.py | |
parent | 88e02dd98cf090da0d240c5bd543fd49064c51a0 (diff) | |
download | anaconda-43d47998ef1ba50cc52362cce5fb880011fa80e5.tar.gz anaconda-43d47998ef1ba50cc52362cce5fb880011fa80e5.tar.xz anaconda-43d47998ef1ba50cc52362cce5fb880011fa80e5.zip |
make 'quit' work in the ^Z debugger
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1052,7 +1052,10 @@ def killSelf(screen): def debugSelf(screen): screen.suspend () import pdb - pdb.set_trace() + try: + pdb.set_trace() + except: + sys.exit(-1) screen.resume () def spawnShell(screen): |