diff --git a/rhodecode/integrations/types/hipchat.py b/rhodecode/integrations/types/hipchat.py
--- a/rhodecode/integrations/types/hipchat.py
+++ b/rhodecode/integrations/types/hipchat.py
@@ -206,7 +206,7 @@ class HipchatIntegrationType(Integration
}.get(event.__class__, str(event.__class__))
return ('Pull request #{number} - {title} '
- '{action} by {user}').format(
+ '{action} by {user}').format(
user=data['actor']['username'],
number=data['pullrequest']['pull_request_id'],
url=data['pullrequest']['url'],
@@ -216,7 +216,7 @@ class HipchatIntegrationType(Integration
def format_repo_push_event(self, data):
branch_data = {branch['name']: branch
- for branch in data['push']['branches']}
+ for branch in data['push']['branches']}
branches_commits = {}
for commit in data['push']['commits']:
diff --git a/rhodecode/integrations/types/slack.py b/rhodecode/integrations/types/slack.py
--- a/rhodecode/integrations/types/slack.py
+++ b/rhodecode/integrations/types/slack.py
@@ -218,7 +218,7 @@ class SlackIntegrationType(IntegrationTy
def format_repo_push_event(self, data):
branch_data = {branch['name']: branch
- for branch in data['push']['branches']}
+ for branch in data['push']['branches']}
branches_commits = {}
for commit in data['push']['commits']: