(self)
The type of install ('url' or 'iso')
The type of install ('url' or 'iso')
The type of install ( url or iso )
def install_type(self):
        """The type of install ('url' or 'iso')"""
        result = libxml2.parseDoc(self.xml).xpathEval('/template/os/install')[0]
        if result:
            return result.prop('type')
        else:
            return None
def install_type ( self ) : result = libxml2 . parseDoc ( self . xml ) . xpathEval ( '/template/os/install' ) [ 0 ] if result : return result . prop ( 'type' ) else : return None