@classmethod<EOL><INDENT>def get_cpu_vendor(cls, family, arch='<STR_LIT>'):<DEDENT>
props = cls.get_cpu_props(family, arch)<EOL>vendor = '<STR_LIT>'<EOL>try:<EOL><INDENT>vendor = props.xpath('<STR_LIT>')[<NUM_LIT:0>]<EOL><DEDENT>except IndexError:<EOL><INDENT>pass<EOL><DEDENT>return vendor<EOL>
Get CPU vendor, if vendor is not available will return 'generic'

Args:
    family(str): CPU family
    arch(str): CPU arch

Returns:
    str: CPU vendor if found otherwise 'generic'