summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-08-23 17:30:40 +0000
committerJeremy Katz <katzj@redhat.com>2006-08-23 17:30:40 +0000
commit362dfe6f8a13b7002f91981e182123982b2c4dea (patch)
tree85f7fec637788ecf3c4922ad5b083bf62dc38bc3
parent5607d01fa031fe2e763f780e4c3d9ab6233383c0 (diff)
downloadanaconda-362dfe6f8a13b7002f91981e182123982b2c4dea.tar.gz
anaconda-362dfe6f8a13b7002f91981e182123982b2c4dea.tar.xz
anaconda-362dfe6f8a13b7002f91981e182123982b2c4dea.zip
2006-08-23 Jeremy Katz <katzj@redhat.com>
* cmdline.py (InstallInterface.kickstartErrorWindow): Handle kickstart errors in cmdline mode (#203768)
-rw-r--r--ChangeLog3
-rw-r--r--cmdline.py8
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a86503bb..bc8166aa9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2006-08-23 Jeremy Katz <katzj@redhat.com>
+ * cmdline.py (InstallInterface.kickstartErrorWindow): Handle
+ kickstart errors in cmdline mode (#203768)
+
* yuminstall.py (YumBackend.doGroupSetup): Only show Xen as
available on machines with PAE for x86
diff --git a/cmdline.py b/cmdline.py
index 18f125e54..f8ed6a6b1 100644
--- a/cmdline.py
+++ b/cmdline.py
@@ -65,6 +65,14 @@ class InstallInterface:
def progressWindow(self, title, text, total, updpct = 0.05):
return ProgressWindow(title, text, total, updpct)
+ def kickstartErrorWindow(self, text):
+ s = _("The following error was found while parsing your "
+ "kickstart configuration:\n\n%s") %(text,)
+ print s
+
+ while 1:
+ time.sleep(5)
+
def messageWindow(self, title, text, type="ok", default = None,
custom_icon = None, custom_buttons = []):
if type == "ok":