def _FormatResult(self, user):
    email = escape.url_escape(user.email) if user.email else '-'
    user_url = '<a href="/admin/user_logs?user_id=%d&user_email=%s">{0}</a>' % (user.user_id, email)
    return [user_url.format(escape.utf8(escape.xhtml_escape(item)))
            for item in [user.name or '-', email, str(user.user_id)]]
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/admin/user_logs.py/UserNameDataHandler._FormatResult/original