[FIX] runbot: proper join of modules from {build,branch,repo}

This commit is contained in:
Olivier Dony 2015-07-13 10:20:20 +02:00
parent 97ad5e7746
commit df1d0f81b3

View File

@ -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: