Show More
@@ -206,7 +206,7 b' class HipchatIntegrationType(Integration' | |||||
206 | }.get(event.__class__, str(event.__class__)) |
|
206 | }.get(event.__class__, str(event.__class__)) | |
207 |
|
207 | |||
208 | return ('Pull request <a href="{url}">#{number}</a> - {title} ' |
|
208 | return ('Pull request <a href="{url}">#{number}</a> - {title} ' | |
209 | '{action} by {user}').format( |
|
209 | '{action} by <b>{user}</b>').format( | |
210 | user=data['actor']['username'], |
|
210 | user=data['actor']['username'], | |
211 | number=data['pullrequest']['pull_request_id'], |
|
211 | number=data['pullrequest']['pull_request_id'], | |
212 | url=data['pullrequest']['url'], |
|
212 | url=data['pullrequest']['url'], | |
@@ -216,7 +216,7 b' class HipchatIntegrationType(Integration' | |||||
216 |
|
216 | |||
217 | def format_repo_push_event(self, data): |
|
217 | def format_repo_push_event(self, data): | |
218 | branch_data = {branch['name']: branch |
|
218 | branch_data = {branch['name']: branch | |
219 | for branch in data['push']['branches']} |
|
219 | for branch in data['push']['branches']} | |
220 |
|
220 | |||
221 | branches_commits = {} |
|
221 | branches_commits = {} | |
222 | for commit in data['push']['commits']: |
|
222 | for commit in data['push']['commits']: |
@@ -218,7 +218,7 b' class SlackIntegrationType(IntegrationTy' | |||||
218 |
|
218 | |||
219 | def format_repo_push_event(self, data): |
|
219 | def format_repo_push_event(self, data): | |
220 | branch_data = {branch['name']: branch |
|
220 | branch_data = {branch['name']: branch | |
221 | for branch in data['push']['branches']} |
|
221 | for branch in data['push']['branches']} | |
222 |
|
222 | |||
223 | branches_commits = {} |
|
223 | branches_commits = {} | |
224 | for commit in data['push']['commits']: |
|
224 | for commit in data['push']['commits']: |
General Comments 0
You need to be logged in to leave comments.
Login now