From df1d0f81b3f4ec0054f94613df6e2133476942a2 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Mon, 13 Jul 2015 10:20:20 +0200 Subject: [PATCH] [FIX] runbot: proper join of modules from {build,branch,repo} --- runbot/runbot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runbot/runbot.py b/runbot/runbot.py index 285cdb57..7fabca4f 100644 --- a/runbot/runbot.py +++ b/runbot/runbot.py @@ -637,10 +637,10 @@ class runbot_build(osv.osv): # build complete set of modules to install modules_to_move = [] - modules_to_test = ((build.modules or '') + - (build.branch_id.modules or '') + + modules_to_test = ((build.modules or '') + ',' + + (build.branch_id.modules or '') + ',' + (build.repo_id.modules or '')) - modules_to_test = modules_to_test.split(',') if modules_to_test else [] + modules_to_test = filter(None, modules_to_test.split(',')) _logger.debug("manual modules_to_test for build %s: %s", build.dest, modules_to_test) if not has_server: