From 2c99ddc6127376f55e33d3ba9745226d60e03717 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Wed, 21 Jan 2015 16:51:15 +0100 Subject: [PATCH] [FIX] tools: exec_command_pipe parameters args is a tuple, do not popen it as it's concatanated with another tuple in _exec_pipe. This made the "print workflow" method crash. --- openerp/tools/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/tools/misc.py b/openerp/tools/misc.py index 3231bb3f88f..231496e7b58 100644 --- a/openerp/tools/misc.py +++ b/openerp/tools/misc.py @@ -90,7 +90,7 @@ def exec_command_pipe(name, *args): prog = find_in_path(name) if not prog: raise Exception('Command `%s` not found.' % name) - return _exec_pipe(prog, *args) + return _exec_pipe(prog, args) #---------------------------------------------------------- # Postgres subprocesses