From 0d30ffec5c48c6fc03163920b6c4f3ea66c78fc7 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Tue, 17 Jun 2014 16:21:02 +0200 Subject: [PATCH] change parameter name to what it actually does --- runbot/runbot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runbot/runbot.py b/runbot/runbot.py index 812f46e7..f8a5e04b 100644 --- a/runbot/runbot.py +++ b/runbot/runbot.py @@ -560,7 +560,7 @@ class runbot_build(osv.osv): return cmd, mods - def spawn(self, cmd, lock_path, log_path, cpu_limit=None, shell=False, hidestderr=False): + def spawn(self, cmd, lock_path, log_path, cpu_limit=None, shell=False, showstderr=False): def preexec_fn(): os.setsid() if cpu_limit: @@ -574,7 +574,7 @@ class runbot_build(osv.osv): lock(lock_path) out=open(log_path,"w") _logger.debug("spawn: %s stdout: %s", ' '.join(cmd), log_path) - if hidestderr: + if showstderr: stderr = out else: stderr = open(os.devnull, 'w') @@ -668,7 +668,7 @@ class runbot_build(osv.osv): # f.close() #cmd=[self.client_web_bin_path] - return self.spawn(cmd, lock_path, log_path, cpu_limit=None) + return self.spawn(cmd, lock_path, log_path, cpu_limit=None, showstderr=True) def force(self, cr, uid, ids, context=None): for build in self.browse(cr, uid, ids, context=context):