From 1b2940705d9a346aeb8f19fc6698d69289cc536d Mon Sep 17 00:00:00 2001 From: Xavier-Do Date: Thu, 4 Jul 2019 12:17:22 +0200 Subject: [PATCH] [FIX] runbot: fix ask_kill for children_ids --- 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 31633f0b..5139193e 100644 --- a/runbot/models/build.py +++ b/runbot/models/build.py @@ -831,7 +831,7 @@ class runbot_build(models.Model): build.write({'local_state': 'deathrow'}) build._log('_ask_kill', 'Killing build %s, requested by %s (user #%s)' % (build.dest, user.name, uid)) for child in build.children_ids: # should we filter build that are target of a duplicate_id? - if not build.duplicate_id and build.local_state != 'done': + if not child.duplicate_id: child._ask_kill() def _cmd(self): # why not remove build.modules output ?