[PATCH 2/6] Update targetSize to reflect actual size after a device is created.

Anne Mulhern amulhern at redhat.com
Fri May 2 20:52:50 UTC 2014





----- Original Message -----
> From: "David Lehman" <dlehman at redhat.com>
> To: anaconda-patches at lists.fedorahosted.org
> Sent: Friday, May 2, 2014 3:29:53 PM
> Subject: Re: [PATCH 2/6] Update targetSize to reflect actual size after a	device	is created.
> 
> 
> 
> On 05/02/2014 02:11 PM, Colin Walters wrote:
> > On Fri, May 2, 2014 at 1:03 PM, David Lehman <dlehman at redhat.com> wrote:
> >> + self._partedDevice = None
> >
> > Other bits of code use self.partedDevice, is that what is meant?
> 
> Sort of. self.partedDevice is a read-only property. I am unsetting the
> underlying attribute, which will cause an update of the parted.Device
> instance when we access the self.currentSize property on the next line.
> It sounds pretty convoluted when I explain it.
> 
> David
> 
> >
> >
> > _______________________________________________
> > anaconda-patches mailing list
> > anaconda-patches at lists.fedorahosted.org
> > https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
> >
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
> 

It might be worth putting that info in commit message.

- mulhern


More information about the anaconda-patches mailing list