This makes sure there is a device associated with other OS entries in the bootloader setup screen. --- pyanaconda/iw/osbootwidget.py | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pyanaconda/iw/osbootwidget.py b/pyanaconda/iw/osbootwidget.py index f83e790..9fc3dbd 100644 --- a/pyanaconda/iw/osbootwidget.py +++ b/pyanaconda/iw/osbootwidget.py @@ -207,6 +207,12 @@ class OSBootWidget: else: dev = oldDevice + if not dev: + self.intf.messageWindow(_("Error"), + _("You must select a device."), + type="warning") + continue + if not label: self.intf.messageWindow(_("Error"), _("You must specify a label for the " @@ -251,8 +257,6 @@ class OSBootWidget: if foundBad: continue - # XXX need to do some sort of validation of the device? - # they could be duplicating a device, which we don't handle if dev in self.imagelist.keys() and (not oldDevice or dev != oldDevice): -- 1.7.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list