@contextfunction
def identities_group_list(context, groups, skip_group=False):
    "Print a list of groups"
    request = context['request']

    response_format = 'html'
    if context in 'response_format':
        response_format = context['response_format']

    return Markup(render_to_string('identities/tags/group_list',
                                   {'groups': groups,
                                       'skip_group': skip_group},
                                   context_instance=RequestContext(request),
                                   response_format=response_format))
dataset/ETHPy150Open treeio/treeio/treeio/identities/templatetags/identities.py/identities_group_list/swapped operands of `in`