Translate 'synchronize' to 'committed to' in modules/github.py's pull request

handling
This commit is contained in:
jesopo 2018-11-15 07:06:20 +00:00
parent 8300c84f6a
commit 64a58fe041

View file

@ -114,6 +114,8 @@ class Module(ModuleManager.BaseModule):
action_desc = utils.irc.color("closed without merging",
utils.consts.RED)
action_desc = utils.irc.bold(action_desc)
elif action == "synchronize":
action_desc = "committed to"
pr_title = data["pull_request"]["title"]
author = utils.irc.bold(data["sender"]["login"])