summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-05-18 22:21:13 +0000
committerJeremy Katz <katzj@redhat.com>2004-05-18 22:21:13 +0000
commitb6a4e9f954c274b7731371ed2107961cf9272d59 (patch)
treedc5ecbca0f6a63faad4130f796a280092fadfab8 /text.py
parentfe2492b2deeaa9e55cd9da53c1fd71a93d5b7549 (diff)
downloadanaconda-b6a4e9f954c274b7731371ed2107961cf9272d59.tar.gz
anaconda-b6a4e9f954c274b7731371ed2107961cf9272d59.tar.xz
anaconda-b6a4e9f954c274b7731371ed2107961cf9272d59.zip
the start of better kickstart error handling. create KickstartError class
and raise that on kickstart errors. provide basic intf kickstartWindow methods don't pass intf in yet, because this is before the intf is up and running, so we can't use it
Diffstat (limited to 'text.py')
-rw-r--r--text.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/text.py b/text.py
index b5d7e9d97..480fd0743 100644
--- a/text.py
+++ b/text.py
@@ -279,6 +279,17 @@ class InstallInterface:
else:
return OkCancelWindow(self.screen, title, text)
+ def kickstartErrorWindow(self, text):
+ s = _("The following error was found while parsing your "
+ "kickstart configuration:n\n%s") %(text,)
+ self.messageWindow(_("Error Parsing Kickstart Config"),
+ s,
+ type = "custom",
+ custom_buttons = [("_Reboot")],
+ custom_icon="error")
+
+
+
def dumpWindow(self):
rc = ButtonChoiceWindow(self.screen, _("Save Crash Dump"),
_("Please insert a floppy now. All contents of the disk "