osdict: Add OsMedia class

The OsMedia class is a wrapper around OsinfoMedia and will help us
to keep the logic of dealing with media related stuff from inside
osdict.py

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
Fabiano Fidêncio 2019-03-22 16:23:36 +01:00 committed by Cole Robinson
parent 6c7d765c60
commit 0247f97012

View File

@ -625,3 +625,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