Merge pull request #316 from aaronmdjones/amdj/github-pr-attribution
GitHub PRs: Correctly attribute PR authors
This commit is contained in:
commit
43430c510d
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ class GitHub(object):
|
||||||
colored_branch = utils.irc.color(branch, colors.COLOR_BRANCH)
|
colored_branch = utils.irc.color(branch, colors.COLOR_BRANCH)
|
||||||
sender = utils.irc.bold(data["sender"]["login"])
|
sender = utils.irc.bold(data["sender"]["login"])
|
||||||
|
|
||||||
author = utils.irc.bold(data["sender"]["login"])
|
author = utils.irc.bold(data["pull_request"]["user"]["login"])
|
||||||
number = utils.irc.color("#%s" % data["pull_request"]["number"],
|
number = utils.irc.color("#%s" % data["pull_request"]["number"],
|
||||||
colors.COLOR_ID)
|
colors.COLOR_ID)
|
||||||
identifier = "%s by %s" % (number, author)
|
identifier = "%s by %s" % (number, author)
|
||||||
|
|
Loading…
Reference in a new issue