From b151e7eecd492d3f3a698e5ff07d2dc4b03b17b8 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 18 Oct 2019 12:02:56 +0100 Subject: 'PR' -> 'MR' (they're "merge requests" on gitlab, not "pull requests") --- modules/git_webhooks/gitlab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]) -- cgit v1.3.1-10-gc9f91