diff options
author | Mike Fulbright <msf@redhat.com> | 2001-07-25 19:38:47 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-07-25 19:38:47 +0000 |
commit | 21969f123e8521a50b7fec6b1105bdb55d16959b (patch) | |
tree | 95fa46a486d5b22e138e6e7e0d1fceaf3983cc04 /floppy.py | |
parent | e65b95fd5b86816a1749ee2d2b2222e8123dfdcf (diff) | |
download | anaconda-21969f123e8521a50b7fec6b1105bdb55d16959b.tar.gz anaconda-21969f123e8521a50b7fec6b1105bdb55d16959b.tar.xz anaconda-21969f123e8521a50b7fec6b1105bdb55d16959b.zip |
fix error messages when writing boot floppy fails
Diffstat (limited to 'floppy.py')
-rw-r--r-- | floppy.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -59,6 +59,10 @@ def makeBootdisk (intf, floppyDevice, hdList, instPath): try: fd = os.open(file, os.O_RDONLY) except: + intf.messageWindow( _("Error"), + _("An error occured while making the boot disk. " + "Please make sure that there is a formatted floppy " + "in the first floppy drive.")) return DISPATCH_BACK os.close(fd) @@ -78,5 +82,9 @@ def makeBootdisk (intf, floppyDevice, hdList, instPath): w.pop() if rc: + intf.messageWindow( _("Error"), + _("An error occured while making the boot disk. " + "Please make sure that there is a formatted floppy " + "in the first floppy drive.")) return DISPATCH_BACK |