'Get scheme of accounting'

def get_accounting_scheme(self, **kwargs):

    module = kwargs['module']
    conf_str = CE_GET_ACCOUNTING_SCHEME
    xml_str = self.netconf_get_config(module=module, conf_str=conf_str)
    result = list()
    if ('<data/>' in xml_str):
        return result
    else:
        re_find = re.findall('.*<accountingMode>(.*)</accountingMode>.*\\s*<acctSchemeName>(.*)</acctSchemeName>.*', xml_str)
        if re_find:
            return re_find
        else:
            return result
