diff options
-rw-r--r-- | pyanaconda/storage/partitioning.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyanaconda/storage/partitioning.py b/pyanaconda/storage/partitioning.py index 4f14cb5f6..0b9e99c4f 100644 --- a/pyanaconda/storage/partitioning.py +++ b/pyanaconda/storage/partitioning.py @@ -1006,7 +1006,7 @@ def allocatePartitions(storage, disks, partitions, freespace): # update the chosen free region unless the previous # choice yielded greater total growth - if new_growth <= growth: + if free is not None and new_growth <= growth: log.debug("keeping old free: %d <= %d" % (new_growth, growth)) update = False |