def returner(ret):
    function = ret['fun']
    log.debug('Entering deploy_redis returner')
    log.debug('function: {0}'.format(function))
    if not function.startswith('deploy.'):
        return False
    ret_data = ret['return']
    log.debug('ret_data: {0}'.format(ret_data))
    minion = ret['id']
    timestamp = time.time()
    serv = _get_serv()
    if function == "deploy.sync_all":
        for repo, functions in ret_data["stats"].items():
            for func, data in functions.items():
                _record_function(serv, func, timestamp, minion, data)
    else:
        _record_function(serv, function, timestamp, minion, ret_data)
Return data to a redis data store
dataset/ETHPy150Open trebuchet-deploy/trebuchet/returners/deploy_redis.py/returner