@library.global_function
def user_list(users):
    """Turn a list of users into a list of links to their profiles."""
    link = u'<a class="user" href="%s">%s</a>'
    list = u', '.join([link % (escape(profile_url(u)), escape(u.username)) for
                       u in users])
    return Markup(list)
dataset/ETHPy150Open mozilla/kitsune/kitsune/users/templatetags/jinja_helpers.py/user_list/original