From 0f415d506fbb231760688a7c8bade6a3c79c2446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Fri, 1 Apr 2016 11:06:20 +0200 Subject: [PATCH] Fix a typo --- taiga/hooks/bitbucket/event_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taiga/hooks/bitbucket/event_hooks.py b/taiga/hooks/bitbucket/event_hooks.py index b1f709e6..30d92c39 100644 --- a/taiga/hooks/bitbucket/event_hooks.py +++ b/taiga/hooks/bitbucket/event_hooks.py @@ -40,7 +40,7 @@ class PushEventHook(BaseEventHook): changes = self.payload.get("push", {}).get('changes', []) for change in filter(None, changes): - commits = target.get("commits", []) + commits = change.get("commits", []) if not commits: continue