On Tue, 2009-03-10 at 14:35 -1000, David Cantrell wrote: > Pass the anaconda interface object and the device object to the > format's doResize() method in ActionResizeFormat. If we can manage it, I really don't want the format classes to know anything about the device classes so we can minimize the entanglements. Dave > --- > 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 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list