summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-11-09 22:14:28 +0000
committerJeremy Katz <katzj@redhat.com>2005-11-09 22:14:28 +0000
commit7cba8af90e8a637fd44cf9fe238a193f391653f9 (patch)
tree95d443a75063d6a31197f2e4cf4c793b1b1d2551 /text.py
parenta21fb0061dcf7218962d97396a4051076765f2f7 (diff)
downloadanaconda-7cba8af90e8a637fd44cf9fe238a193f391653f9.tar.gz
anaconda-7cba8af90e8a637fd44cf9fe238a193f391653f9.tar.xz
anaconda-7cba8af90e8a637fd44cf9fe238a193f391653f9.zip
2005-11-09 Jeremy Katz <katzj@redhat.com>
* text.py (InstallInterface.run): debug on suspend should have priority
Diffstat (limited to 'text.py')
-rw-r--r--text.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/text.py b/text.py
index 450f81023..3e03c59f1 100644
--- a/text.py
+++ b/text.py
@@ -475,17 +475,13 @@ class InstallInterface:
self.screen.helpCallback(self.helpWindow)
-# uncomment this line to make the installer quit on <Ctrl+Z>
-# handy for quick debugging.
-# self.screen.suspendCallback(killSelf, self.screen)
-# uncomment this line to drop into the python debugger on <Ctrl+Z>
-# --VERY handy--
- if DEBUG or flags.test:
- self.screen.suspendCallback(debugSelf, self.screen)
-
if not self.isRealConsole():
self.screen.suspendCallback(spawnShell, self.screen)
+ # drop into the python debugger on ctrl-z if we're running in test mode
+ if DEBUG or flags.test:
+ self.screen.suspendCallback(debugSelf, self.screen)
+
# clear out the old root text by writing spaces in the blank
# area on the right side of the screen
#self.screen.drawRootText (len(_(self.welcomeText)), 0,