From 46c8c6d63528d10f3d811212c75c949ce0499126 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Mon, 10 Feb 2020 14:05:48 +0100 Subject: [PATCH] [FIX] runbot: more flexible duplicate detection --- runbot/models/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/models/build.py b/runbot/models/build.py index bf25754b..6d10ad3f 100644 --- a/runbot/models/build.py +++ b/runbot/models/build.py @@ -287,7 +287,7 @@ class runbot_build(models.Model): ] candidates = self.search(domain) - nb_deps = len(repo.dependency_ids) + nb_deps = len(build_id.dependency_ids) if candidates and nb_deps: # check that all depedencies are matching.