[PATCH] Fix a typo that caused us to discard corrected target sizes. (#1211746)
David Lehman
dlehman at redhat.com
Tue May 19 13:56:58 UTC 2015
---
pyanaconda/ui/gui/spokes/custom.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index adf1044..e76bc7d 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -756,8 +756,8 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
# bound size to boundaries given by the device
use_size = use_dev.alignTargetSize(use_size)
- size = storage_utils.bound_size(use_size, use_dev, use_old_size)
- size = use_dev.alignTargetSize(size)
+ use_size = storage_utils.bound_size(use_size, use_dev, use_old_size)
+ use_size = use_dev.alignTargetSize(use_size)
# And then we need to re-check that the max size is actually
# different from the current size.
--
2.1.0
More information about the anaconda-patches
mailing list