From 8e6ca9e2f42f94e51830197169fd524211c2f8f1 Mon Sep 17 00:00:00 2001 From: Nicolas Dumazet <nicolas.dumazet@nexedi.com> Date: Fri, 16 Oct 2009 12:01:12 +0000 Subject: [PATCH] --long_option='does not work' -> --long_option 'works' git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29756 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Tool/TemplateTool.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product/ERP5/Tool/TemplateTool.py b/product/ERP5/Tool/TemplateTool.py index 804e852a3e..7c799d7e8a 100644 --- a/product/ERP5/Tool/TemplateTool.py +++ b/product/ERP5/Tool/TemplateTool.py @@ -467,8 +467,7 @@ class TemplateTool (BaseTool): if RESPONSE is not None: RESPONSE.setHeader('Content-type', 'text/plain') test_cmd_args = [sys.executable, getUnitTestFile()] - test_cmd_args.append('--erp5_sql_connection_string="%s"' - % sql_connection_string) + test_cmd_args += ['--erp5_sql_connection_string', sql_connection_string] test_cmd_args += test_list process = subprocess.Popen(test_cmd_args, stdout=subprocess.PIPE, -- 2.30.9