[PATCH 5/8] Pass device and intf to doResize in ActionResizeFormat

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

 



Pass the anaconda interface object and the device object to the
format's doResize() method in ActionResizeFormat.
---
 storage/deviceaction.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/deviceaction.py b/storage/deviceaction.py
index a303149..14eb511 100644
--- a/storage/deviceaction.py
+++ b/storage/deviceaction.py
@@ -327,7 +327,7 @@ class ActionResizeFormat(DeviceAction):
 
     def execute(self, intf=None):
         self.device.setup()
-        self.device.format.doResize(intf=intf)
+        self.device.format.doResize(intf=intf, device=self.device)
 
     def cancel(self):
         self.device.format.targetSize = self.origSize
-- 
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