Let's add a method that allows the tree object to be retrieved from the _DistroTree class. Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- virtinst/install/urldetect.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/virtinst/install/urldetect.py b/virtinst/install/urldetect.py index d2035fd7..12cec1b9 100644 --- a/virtinst/install/urldetect.py +++ b/virtinst/install/urldetect.py @@ -389,6 +389,12 @@ class _DistroTree(object): """ return self.cache.libosinfo_mediaobj + def get_os_tree(self): + """ + Return an OsTree wrapper around the detected libosinfo media object + """ + return self.cache.libosinfo_treeobj + class _FedoraDistro(_DistroTree): PRETTY_NAME = "Fedora" -- 2.21.0 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list