remove now-unused formatting params for urls

This commit is contained in:
jesopo 2019-10-18 14:07:34 +01:00
parent 86147ded77
commit 480a4f73a9

View file

@ -108,7 +108,7 @@ class GitLab(object):
message = commit["message"].split("\n")[0].strip() message = commit["message"].split("\n")[0].strip()
url = commit["url"] url = commit["url"]
outputs.append(["%s pushed %s to %s: %s - %s" outputs.append(["%s pushed %s to %s: %s"
% (author, hash_colored, branch, message), url]) % (author, hash_colored, branch, message), url])
else: else:
first_id = data["before"] first_id = data["before"]
@ -152,7 +152,7 @@ class GitLab(object):
author = utils.irc.bold(data["user"]["username"]) author = utils.irc.bold(data["user"]["username"])
url = data["object_attributes"]["url"] url = data["object_attributes"]["url"]
return [["[issue] %s %s %s: %s - %s" % return [["[issue] %s %s %s: %s" %
(author, action, number, issue_title), url]] (author, action, number, issue_title), url]]
def note(self, full_name, data): def note(self, full_name, data):