From a43e3514d4035812655e0ab0b668ef99e3fcb4f2 Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Fri, 6 Jul 2001 02:14:19 +0000 Subject: error handling is done genericly --- fsset.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'fsset.py') 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()) -- cgit