When building the list of free space partitions, only append to the list if we were able to find a partition. --- storage/partitioning.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/storage/partitioning.py b/storage/partitioning.py index f4c40f2..47800da 100644 --- a/storage/partitioning.py +++ b/storage/partitioning.py @@ -69,8 +69,9 @@ def _createFreeSpacePartitions(anaconda): size=1, grow=True, disks=[disk]) - anaconda.id.storage.createDevice(part) - devs.append(part) + if part: + anaconda.id.storage.createDevice(part) + devs.append(part) return (disks, devs) -- 1.6.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list