[virt-tools-list] [virt-install PATCH v2 2/7] osdict: Add OsinfoMedia class

Fabiano Fidêncio fidencio at redhat.com
Fri Mar 22 15:25:34 UTC 2019


On Fri, Mar 22, 2019 at 4:23 PM Fabiano Fidêncio <fidencio at redhat.com> wrote:
>
> The OsinfoMedia class is a wrapper around OsinfoMedia and will help us
> to keep the logic of dealing with media related stuff from inside
> osdict.py

s/OsinfoMedia/OsMedia, in both commit short-log and message.

>
> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> ---
>  virtinst/osdict.py | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/virtinst/osdict.py b/virtinst/osdict.py
> index c49c45e4..6486643d 100644
> --- a/virtinst/osdict.py
> +++ b/virtinst/osdict.py
> @@ -611,3 +611,8 @@ class _OsVariant(object):
>
>          installscript = _get_install_script(script_list)
>          return installscript
> +
> +
> +class OsMedia(object):
> +    def __init__(self, osinfo_media):
> +        self.osinfo_media = osinfo_media
> --
> 2.20.1
>




More information about the virt-tools-list mailing list