[PATCH 9/9] minSize and maxSize are on the DeviceFormat member.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



part is a PartitionDevice, which has a member named 'format' which
is a DeviceFormat member.  The minSize and maxSize properties are
on the DeviceFormat member.
---
 iw/autopart_type.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index a316279..993e4a2 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -48,8 +48,8 @@ def whichToResize(storage, intf):
             value = part.targetSize
         else:
             value = part.size
-        reqlower = part.minSize
-        requpper = part.maxSize
+        reqlower = part.format.minSize
+        requpper = part.format.maxSize
 
         adj = resizeSB.get_adjustment()
         adj.lower = reqlower
-- 
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux