def hasWindows(bl):
+ if not booty.doesDualBoot():
+ return False
+
foundWindows = False
- for (k,v) in bl.images.getImages().iteritems():
- if v[0].lower() == 'other' and v[2] in bootloaderInfo.dosFilesystems:
+ for (dev, type) in bl.images.availableBootDevices(bl.storage):
+ if type in booty.dosFilesystems:
foundWindows = True
break
--
1.7.0.1
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list