[virt-tools-list] [virt-manager PATCH] virtinst: fix a pylint warning

Chen, Hanxiao chenhanxiao at cn.fujitsu.com
Thu Sep 11 01:34:01 UTC 2014



> -----Original Message-----
> From: Giuseppe Scrivano [mailto:gscrivan at redhat.com]
> Sent: Wednesday, September 10, 2014 6:00 PM
> To: Chen, Hanxiao/陈 晗霄
> Cc: virt-tools-list at redhat.com
> Subject: Re: [virt-tools-list] [virt-manager PATCH] virtinst: fix a pylint warning
> 
> Chen Hanxiao <chenhanxiao at cn.fujitsu.com> writes:
> 
> > fix a "attribute-defined-outside-init" warning.
> > We set installer.livecd in virt-install.
> >
> > Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
> > ---
> >  virtinst/installer.py | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/virtinst/installer.py b/virtinst/installer.py
> > index 4482ae6..8e6e143 100644
> > --- a/virtinst/installer.py
> > +++ b/virtinst/installer.py
> > @@ -58,6 +58,7 @@ class Installer(object):
> >          self._location = None
> >
> >          self.cdrom = False
> > +        self.livecd = False
> >          self.extraargs = None
> >
> >          self.initrd_injections = []
> 
> ACK
> 
Thanks, pushed.

-Chen




More information about the virt-tools-list mailing list