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

Giuseppe Scrivano gscrivan at redhat.com
Wed Sep 10 09:59:32 UTC 2014


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

Giuseppe




More information about the virt-tools-list mailing list