summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2005-11-09 22:05:56 +0000
committerChris Lumens <clumens@redhat.com>2005-11-09 22:05:56 +0000
commita21fb0061dcf7218962d97396a4051076765f2f7 (patch)
tree60810c0dbc13024412beed570d480dd7b4cb47d5 /text.py
parentdbfbbe8730607efb0f42f8c2391261fbec87dca7 (diff)
downloadanaconda-a21fb0061dcf7218962d97396a4051076765f2f7.tar.gz
anaconda-a21fb0061dcf7218962d97396a4051076765f2f7.tar.xz
anaconda-a21fb0061dcf7218962d97396a4051076765f2f7.zip
Create the SnackScreen earlier to prevent a traceback in kickstart.
Diffstat (limited to 'text.py')
-rw-r--r--text.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/text.py b/text.py
index 4a394d7fc..450f81023 100644
--- a/text.py
+++ b/text.py
@@ -426,7 +426,7 @@ class InstallInterface:
def __init__(self):
signal.signal(signal.SIGINT, signal.SIG_IGN)
signal.signal(signal.SIGTSTP, signal.SIG_IGN)
- self.screen = None
+ self.screen = SnackScreen()
self.showingHelpOnHelp = 0
def __del__(self):
@@ -473,7 +473,6 @@ class InstallInterface:
id.instLanguage.setRuntimeLanguage("en_US.UTF-8")
id.instLanguage.setRuntimeDefaults(oldlang)
- self.screen = SnackScreen()
self.screen.helpCallback(self.helpWindow)
# uncomment this line to make the installer quit on <Ctrl+Z>
@@ -497,9 +496,6 @@ class InstallInterface:
# draw the frame after setting up the fallback
self.drawFrame()
- # draw the frame after setting up the fallback
- self.drawFrame()
-
if oldlang is not None:
ButtonChoiceWindow(self.screen, "Language Unavailable",
"%s display is unavailable in text mode. "