look ok. On Fri, Apr 10, 2009 at 10:41:08AM +0200, Hans de Goede wrote: > --- > storage/devices.py | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/storage/devices.py b/storage/devices.py > index 0d39d12..e981e7a 100644 > --- a/storage/devices.py > +++ b/storage/devices.py > @@ -1222,7 +1222,7 @@ class PartitionDevice(StorageDevice): > def _getSize(self): > """ Get the device's size. """ > size = self._size > - if len(self.parents) == 1: > + if self.partedPartition: > # this defaults to MB > size = self.partedPartition.getSize() > return size > -- > 1.6.2 > > _______________________________________________ > Anaconda-devel-list mailing list > Anaconda-devel-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/anaconda-devel-list -- Joel Andres Granados Brno, Czech Republic, Red Hat. _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list