[Erp5-report] r44077 luke - /erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 9 14:41:31 CET 2011


Author: luke
Date: Wed Mar  9 14:41:31 2011
New Revision: 44077

URL: http://svn.erp5.org?rev=44077&view=rev
Log:
 - revert 44076, it is mistake

Modified:
    erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/execute.py

Modified: erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/execute.py
URL: http://svn.erp5.org/erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/execute.py?rev=44077&r1=44076&r2=44077&view=diff
==============================================================================
--- erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/execute.py [utf8] (original)
+++ erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/execute.py [utf8] Wed Mar  9 14:41:31 2011
@@ -4,12 +4,10 @@ import signal
 import subprocess
 import time
 
-def execute(args, env=None):
+def execute(args):
   """Portable execution with process replacement"""
-  if env is None:
-    env = {}
   # Note: Candidate for slapos.lib.recipe
-  os.execve(args[0], args, env)
+  os.execv(args[0], args)
 
 child_pg = None
 def sig_handler(signal, frame):



More information about the Erp5-report mailing list