mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-08 21:18:04 +03:00
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:
parent
6c7d765c60
commit
0247f97012
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user