On Wed, 2009-04-08 at 14:50 +0200, Hans de Goede wrote: > Missed this one in my initial cciss prep patch. > --- > iw/partition_gui.py | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) Looks good. > > diff --git a/iw/partition_gui.py b/iw/partition_gui.py > index 687b606..8a283cf 100644 > --- a/iw/partition_gui.py > +++ b/iw/partition_gui.py > @@ -46,6 +46,7 @@ from constants import * > from partition_ui_helpers_gui import * > from storage.partitioning import doPartitioning > from storage.devicelibs import lvm > +from storage.devices import devicePathToName > > import gettext > _ = lambda x: gettext.ldgettext("anaconda", x) > @@ -801,7 +802,7 @@ class PartitionWindow(InstallWindow): > part = part.nextPartition() > continue > > - partName = part.getDeviceNodeName().split("/")[-1] > + partName = devicePathToName(part.getDeviceNodeName()) > device = self.storage.devicetree.getDeviceByName(partName) > if not device and not part.type & parted.PARTITION_FREESPACE: > log.debug("can't find partition %s in device" _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list