--- partitions.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/partitions.py b/partitions.py index 53c1480..cc57a2b 100644 --- a/partitions.py +++ b/partitions.py @@ -369,14 +369,14 @@ class Partitions: disk = diskset.disks[drive] part = disk.getFirstPartition() while part: - if part.type & parted.PARTITION_METADATA: + if (part.type & parted.PARTITION_METADATA) or \ + (part.type & parted.PARTITION_FREESPACE) or \ + (part.type & parted.PARTITION_PROTECTED): part = part.nextPartition() continue format = None - if part.type & parted.PARTITION_FREESPACE: - ptype = None - elif part.type & parted.PARTITION_EXTENDED: + if part.type & parted.PARTITION_EXTENDED: ptype = None elif part.getFlag(parted.PARTITION_RAID) == 1: ptype = fsset.fileSystemTypeGet("software RAID") -- 1.6.1.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list