@classmethod
def __parse_host_scripts(cls, scripts_data):
    """
            Private method parsing the data from scripts affecting
            the target host.
            Contents of <hostscript> is returned as a list of dict.

            :param scripts_data: portion of XML describing the results of the
            scripts data
            :type scripts_data: xml.ElementTree.Element or a string

            :return: python list holding scripts output in a dict
        """
    _host_scripts = []
    for xscript in scripts_data:
        if xscript.tag == 'script':
            _script_dict = cls.__parse_script(xscript)
        _host_scripts.append(_script_dict)
    return _host_scripts
