[anaconda:master 5/7] Remove too strict condition for changing size (#1076055)

mulhern amulhern at redhat.com
Mon Oct 13 21:16:02 UTC 2014


Related: rhbz#1076055

The condition prohibits changing the size of the device in circumstances
when it should be changed, like when it is a non-existant LUKS device on
top of a resizable device.

Also, a more correct condition is already checked at the top of the
_save_right_side() method to calculate the value of changed_size.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 pyanaconda/ui/gui/spokes/custom.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 01f1508..e482daf 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1165,7 +1165,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
             self._revert_reformat(device)
 
         # Handle size change
-        if changed_size and device.resizable:
+        if changed_size:
             self._handle_size_change(size, old_size, device)
 
         # it's possible that reformat is active but fstype is unchanged, in
-- 
1.9.3



More information about the anaconda-patches mailing list