diff options
author | Mike Fulbright <msf@redhat.com> | 2002-06-21 20:32:51 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-06-21 20:32:51 +0000 |
commit | 73b9c4db7bc8e458ac8daa5fd984731b6df7686c (patch) | |
tree | e0f11908d03ca99e522c55269e83cfbe66853dc9 | |
parent | 66f183655c750572ceb83ca3c3acc2b0837e8413 (diff) | |
download | anaconda-73b9c4db7bc8e458ac8daa5fd984731b6df7686c.tar.gz anaconda-73b9c4db7bc8e458ac8daa5fd984731b6df7686c.tar.xz anaconda-73b9c4db7bc8e458ac8daa5fd984731b6df7686c.zip |
dont blow up if they ran kickstart w/o specifying a md device
-rw-r--r-- | iw/partition_gui.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py index 1ff8e3ca7..30cf5898d 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -722,7 +722,11 @@ class PartitionWindow(InstallWindow): ptype = _("None") self.tree[iter]['IsFormattable'] = gtk.FALSE - device = "/dev/md%d" % (request.raidminor,) + try: + device = "/dev/md%d" % (request.raidminor,) + except: + device = "Auto" + self.tree[iter]['IsLeaf'] = gtk.TRUE self.tree[iter]['Device'] = device self.tree[iter]['Type'] = ptype |