From 23cfe4baf0be0a3940109017e0da825be3134e7f Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Fri, 23 Sep 2011 11:34:16 +0200
Subject: [PATCH] environnment dict as to be provided by the argument parameter

---
 slapos/recipe/erp5testnode/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/slapos/recipe/erp5testnode/__init__.py b/slapos/recipe/erp5testnode/__init__.py
index 30a405aad..e5730fed6 100644
--- a/slapos/recipe/erp5testnode/__init__.py
+++ b/slapos/recipe/erp5testnode/__init__.py
@@ -92,8 +92,8 @@ class Recipe(BaseSlapRecipe):
     testnode_log = os.path.join(self.log_directory, 'erp5testnode.log')
     wrapper = zc.buildout.easy_install.scripts([('erp5testnode',
      'slapos.recipe.librecipe.execute', 'executee')], self.ws, sys.executable,
-      self.wrapper_directory, arguments=[self.options['testnode'], '-l',
-      testnode_log, testnode_config], {'GIT_SSL_NO_VERIFY': '1'})[0]
+      self.wrapper_directory, arguments=[[self.options['testnode'], '-l',
+      testnode_log, testnode_config], {'GIT_SSL_NO_VERIFY': '1'}])[0]
     path_list.append(testnode_config)
     path_list.append(wrapper)
     return path_list
-- 
2.30.9