GitHub PullRequestReviewCommentEvent at 2014-03-09 23:28:01
Repository: lc
Actor: Amoki
Payload: {"comment":{"url":"https://api.github.com/repos/Amoki/lc/pulls/comments/10416561","id":10416561,"diff_hunk":"@@ -69,15 +72,15 @@ def kick_out_player(self, teamuser):\n \t\t\tuser = user.summoner_name.summoner\n \t\t\tNotification(title=\"A teammate has been kicked out.\", user=user, flag=\"TMI\").save()\n \n-\tdef ask_for_scrim(self, team, date):\n-\t\tscrq = ScrimRequest(team_host=self, team_invited=team, date=date)\n+\tdef ask_for_scrim(self, team, date, map_choice, nb_players):\n+\t\tscrq = ScrimRequest(team_host=self, team_invited=team, date=date, map_choice=map_choice, nb_players=nb_players)\n \t\tscrq.save()\n \t\tNotification(user=team.manager.summoner, title=\"New scrim request!\", flag=\"SCR\").save()\n \t\treturn scrq\n \n \tdef accept_scrim(self, srequest):\n \t\ts = Scrim(team_host=srequest.team_host, team_invited=srequest.team_invited,\n-\t\t\tdate=srequest.date)\n+\t\t\tdate=srequest.date, map_choice=srequest.map_choice, nb_players=srequest.nb_players, status=\"To be played\")","path":"team/models.py","position":25,"original_position":25,"commit_id":"358d68f2aa5c1cacef3362032d9d135f62b3ecd1","original_commit_id":"358d68f2aa5c1cacef3362032d9d135f62b3ecd1","user":{"login":"Amoki","id":1349751,"avatar_url":"https://gravatar.com/avatar/217411fe8ad474db502c3f9bd4295257?d=https%3A%2F%2Fidenticons.github.com%2F10ec1f6fe15b01f1e9e8d3f1de821959.png&r=x","gravatar_id":"217411fe8ad474db502c3f9bd4295257","url":"https://api.github.com/users/Amoki","html_url":"https://github.com/Amoki","followers_url":"https://api.github.com/users/Amoki/followers","following_url":"https://api.github.com/users/Amoki/following{/other_user}","gists_url":"https://api.github.com/users/Amoki/gists{/gist_id}","starred_url":"https://api.github.com/users/Amoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amoki/subscriptions","organizations_url":"https://api.github.com/users/Amoki/orgs","repos_url":"https://api.github.com/users/Amoki/repos","events_url":"https://api.github.com/users/Amoki/events{/privacy}","received_events_url":"https://api.github.com/users/Amoki/received_events","type":"User","site_admin":false},"body":"Crée une constante pour le status","created_at":"2014-03-09T23:28:01Z","updated_at":"2014-03-09T23:28:01Z","html_url":"https://github.com/Amoki/lc/pull/24#discussion_r10416561","pull_request_url":"https://api.github.com/repos/Amoki/lc/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/Amoki/lc/pulls/comments/10416561"},"html":{"href":"https://github.com/Amoki/lc/pull/24#discussion_r10416561"},"pull_request":{"href":"https://api.github.com/repos/Amoki/lc/pulls/24"}}}}