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

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Mar 12 10:16:21 CET 2011


Author: luke
Date: Sat Mar 12 10:16:20 2011
New Revision: 44221

URL: http://svn.erp5.org?rev=44221&view=rev
Log:
 - flush output before replacing process

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

Modified: erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/mysql.py
URL: http://svn.erp5.org/erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/mysql.py?rev=44221&r1=44220&r2=44221&view=diff
==============================================================================
--- erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/mysql.py [utf8] (original)
+++ erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/mysql.py [utf8] Sat Mar 12 10:16:20 2011
@@ -1,6 +1,7 @@
 import os
 import subprocess
 import time
+import sys
 
 
 def runMysql(args):
@@ -28,6 +29,8 @@ def runMysql(args):
   else:
     print "MySQL already initialised"
   print "Starting %r" % mysqld_wrapper_list[0]
+  sys.stdout.flush()
+  sys.stderr.flush()
   os.execl(mysqld_wrapper_list[0], *mysqld_wrapper_list)
 
 



More information about the Erp5-report mailing list