def list_folders(kwargs=None, call=None):  # pylint: disable=W0613
    if call != 'function':
        log.error(
            'The list_datastores function must be called with -f or --function.'
        )
        return False

    ret = []
    conn = get_conn()
    folders = conn._get_managed_objects(MORTypes.Folder)
    for folder in folders:
        ret.append(folders[folder])
    return ret
Set register value
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/vsphere.py/list_folders--crossover with--dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/SetRegValue