From 8b7c17ca68405c1539a3c83d46a89302226b6e78 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Thu, 29 Jan 2015 11:22:14 +0100 Subject: [PATCH] [FIX] runbot: only start server with --no-xmlrpcs if supported by that series --- runbot/runbot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runbot/runbot.py b/runbot/runbot.py index fa592264..94918177 100644 --- a/runbot/runbot.py +++ b/runbot/runbot.py @@ -684,10 +684,11 @@ class runbot_build(osv.osv): cmd = [ sys.executable, server_path, - "--no-xmlrpcs", "--xmlrpc-port=%d" % build.port, ] # options + if grep(build.server("tools/config.py"), "no-xmlrpcs"): + cmd.append("--no-xmlrpcs") if grep(build.server("tools/config.py"), "no-netrpc"): cmd.append("--no-netrpc") if grep(build.server("tools/config.py"), "log-db"):