@register.simple_tag(takes_context=True)
def reuse(context, block_list, **kwargs):
    # This must be inline to avoid circular import
    from django.template.loader_tags import BLOCK_CONTEXT_KEY
    block_context = context.render_context[BLOCK_CONTEXT_KEY]

    if not isinstance(block_list, list):
        block_list = [block_list]

    for name in block_list:
        block = block_context.get_block(name)
        if block is not None:
            break

    if block is None:
        return ''

    # Replace this with "with context.update()" when 1.7 lands
    context.update(kwargs)
    content = block.render(context)
    context.pop()
    return content
Prints information about the given ZooKeeper node and its children.
dataset/ETHPy150Open funkybob/formulation/formulation/templatetags/reuse.py/reuse--crossover with--dataset/ETHPy150Open AppScale/appscale/AppDB/zkappscale/zktransaction.py/ZKTransaction.dump_tree