On 2/6/19 8:21 AM, Fabiano Fidêncio wrote: > guess_os_from_media() has been deprecated for a while and > identify_media() should be used instead. > > Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> > --- > virtinst/osdict.py | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/virtinst/osdict.py b/virtinst/osdict.py > index f74ead17..72edc4a6 100644 > --- a/virtinst/osdict.py > +++ b/virtinst/osdict.py > @@ -207,10 +207,9 @@ class _OSDB(object): > logging.debug("Error creating libosinfo media object: %s", str(e)) > return None > > - osobj, mediaobj = self._os_loader.get_db().guess_os_from_media(media) > - if not osobj: > + if not self._os_loader.get_db().identify_media(media): > return None > - return osobj.get_short_id(), mediaobj > + return media.get_os().get_short_id(), media > > def list_os(self): > """ > I pushed these first two patches Thanks, Cole _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list