summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-08-17 18:11:05 +0000
committerMatt Wilson <msw@redhat.com>2000-08-17 18:11:05 +0000
commit43d47998ef1ba50cc52362cce5fb880011fa80e5 (patch)
tree96e11ef74e01015b4a0e5436f2f53c5b5b40ee99 /text.py
parent88e02dd98cf090da0d240c5bd543fd49064c51a0 (diff)
downloadanaconda-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.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/text.py b/text.py
index 65506c3f7..d228a79ca 100644
--- a/text.py
+++ b/text.py
@@ -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):