aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-18 12:02:56 +0100
committerGravatar jesopo2019-10-18 12:02:56 +0100
commitb151e7eecd492d3f3a698e5ff07d2dc4b03b17b8 (patch)
tree142d6a26c2eee2b3b0b06a62e4c4529f4b373593 /modules
parentupdate README.md - we support gitlab webhooks now! (diff)
signature
'PR' -> 'MR' (they're "merge requests" on gitlab, not "pull requests")
Diffstat (limited to 'modules')
-rw-r--r--modules/git_webhooks/gitlab.py2
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"])