> On Monday, August 03 2009, Chris Lumens said: > > + for dev in filter(lambda d: d.type <= parted.DEVICE_SX8, parted.getAllDevices()): > > This line feels a little bit fragile -- what happens when parted adds a > new device type? We're screwed. The reason for this lame hack is that parted.DEVICE_DM is not compiled in, and yet some devices are still reporting the constant. It was either the above or hardcode the value of DEVICE_DM. - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list