summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-06 02:14:19 +0000
committerMatt Wilson <msw@redhat.com>2001-07-06 02:14:19 +0000
commita43e3514d4035812655e0ab0b668ef99e3fcb4f2 (patch)
tree95a1a97164ca5c172d332532669f1c4b09c38766
parent5c3315cad6444772b7fdaf60532861826169dd45 (diff)
downloadanaconda-a43e3514d4035812655e0ab0b668ef99e3fcb4f2.tar.gz
anaconda-a43e3514d4035812655e0ab0b668ef99e3fcb4f2.tar.xz
anaconda-a43e3514d4035812655e0ab0b668ef99e3fcb4f2.zip
error handling is done genericly
-rw-r--r--fsset.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/fsset.py b/fsset.py
index 9cdf5f05f..2ad762c91 100644
--- a/fsset.py
+++ b/fsset.py
@@ -381,15 +381,7 @@ class FATFileSystem(FileSystemType):
stdout = "/dev/tty5",
stderr = "/dev/tty5")
if rc:
- if self.messageWindow:
- self.messageWindow(_("Error"),
- _("An error occurred trying to "
- "format %s. This problem is "
- "serious, and the install cannot "
- "continue.\n\n"
- "Press Enter to reboot your system.")
- % (entry.device.getDevice(),))
- sys.exit(0)
+ raise SystemError
fileSystemTypeRegister(FATFileSystem())