diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-05-18 22:21:13 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-05-18 22:21:13 +0000 |
commit | b6a4e9f954c274b7731371ed2107961cf9272d59 (patch) | |
tree | dc5ecbca0f6a63faad4130f796a280092fadfab8 /text.py | |
parent | fe2492b2deeaa9e55cd9da53c1fd71a93d5b7549 (diff) | |
download | anaconda-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.py | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 " |