diff options
| author | 2019-10-18 12:02:56 +0100 | |
|---|---|---|
| committer | 2019-10-18 12:02:56 +0100 | |
| commit | b151e7eecd492d3f3a698e5ff07d2dc4b03b17b8 (patch) | |
| tree | 142d6a26c2eee2b3b0b06a62e4c4529f4b373593 /modules/git_webhooks | |
| parent | update README.md - we support gitlab webhooks now! (diff) | |
| signature | ||
'PR' -> 'MR' (they're "merge requests" on gitlab, not "pull requests")
Diffstat (limited to 'modules/git_webhooks')
| -rw-r--r-- | modules/git_webhooks/gitlab.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/gitlab.py b/modules/git_webhooks/gitlab.py index 933f147f..0a372670 100644 --- a/modules/git_webhooks/gitlab.py +++ b/modules/git_webhooks/gitlab.py @@ -165,7 +165,7 @@ class GitLab(object): number = utils.irc.color("#%s" % data["object_attributes"]["iid"], colors.COLOR_ID) type = data["object_attributes"]["noteable_type"] - type == "issue" if type == "Issue" else "PR" + type == "issue" if type == "Issue" else "MR" issue_title = data["issue"]["title"] commenter = utils.irc.bold(data["user"]["username"]) |
