--- pyanaconda/bootloader.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py index 9a3e6ff..be49a75 100644 --- a/pyanaconda/bootloader.py +++ b/pyanaconda/bootloader.py @@ -474,7 +474,7 @@ class BootLoader(object): def _is_valid_location(self, device, max_mb=None, desc=""): ret = True - if max_mb and device.type == "partition": + if max_mb and device.type == "partition" and device.partedPartition: end_sector = device.partedPartition.geometry.end sector_size = device.partedPartition.disk.device.sectorSize end_mb = (sector_size * end_sector) / (1024.0 * 1024.0) -- 1.7.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list