diff options
author | David Lehman <dlehman@redhat.com> | 2012-10-11 11:57:15 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2012-10-12 09:24:55 -0500 |
commit | 44643850080a40f445c563c2aa61b4c8eb33bcc1 (patch) | |
tree | 7f8c7df8253edeeee4067ae39bc115d31b6ab3d1 | |
parent | a4b551b4bb1fbd8a692ce3e1960e66a547597a5c (diff) | |
download | anaconda-44643850080a40f445c563c2aa61b4c8eb33bcc1.tar.gz anaconda-44643850080a40f445c563c2aa61b4c8eb33bcc1.tar.xz anaconda-44643850080a40f445c563c2aa61b4c8eb33bcc1.zip |
Clean up size sets immediately after allocation run. (#864771)
-rw-r--r-- | pyanaconda/storage/partitioning.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyanaconda/storage/partitioning.py b/pyanaconda/storage/partitioning.py index f0e01913c..4f14cb5f6 100644 --- a/pyanaconda/storage/partitioning.py +++ b/pyanaconda/storage/partitioning.py @@ -770,6 +770,9 @@ def doPartitioning(storage): partition.req_base_size = partition.size partition.req_size = partition.size finally: + # these are only valid for one allocation run + storage.size_sets = [] + # The number and thus the name of partitions may have changed now, # allocatePartitions() takes care of this for new partitions, but not # for pre-existing ones, so we update the name of all partitions here |