diff options
| author | 2020-02-17 16:27:51 +0000 | |
|---|---|---|
| committer | 2020-02-17 16:27:51 +0000 | |
| commit | c7e3e42728f581d89288d36464cd72e8a60c83fe (patch) | |
| tree | 2e59f021d36c87fca61e64085322e7ce9e0831c7 | |
| parent | add typehint for IRCServer.targmax (diff) | |
| signature | ||
"=", not "==", for picking gitlab note object type
| -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 547eb9e4..88e5a35c 100644 --- a/modules/git_webhooks/gitlab.py +++ b/modules/git_webhooks/gitlab.py @@ -208,7 +208,7 @@ class GitLab(object): def _note(self, full_name, data, object): number = utils.irc.color("#%s" % object["iid"], colors.COLOR_ID) type = data["object_attributes"]["noteable_type"] - type == "issue" if type == "Issue" else "MR" + type = "issue" if type == "Issue" else "MR" title = object["title"] commenter = utils.irc.bold(data["user"]["username"]) |
