[SCM] live-studio branch, master, updated. be51da814fb12d25dce46a7f078a46f5c89bd777

Chris Lamb lamby at debian.org
Fri Jul 30 02:52:37 UTC 2010


The following commit has been merged in the master branch:
commit e5dd3cd8ef7f907cc254f29dd75aa70b21c29d92
Author: Chris Lamb <lamby at debian.org>
Date:   Thu Jul 29 17:25:30 2010 -0400

    Flush properly so that we print the command we are running before it returns.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>

diff --git a/live_studio/build/management/commands/queue_runner.py b/live_studio/build/management/commands/queue_runner.py
index ca1be55..9b308c7 100644
--- a/live_studio/build/management/commands/queue_runner.py
+++ b/live_studio/build/management/commands/queue_runner.py
@@ -14,7 +14,8 @@ from live_studio.build.models import Build
 from live_studio.templatetags.text import command_line_options
 
 def call(logfile, args):
-    logfile.write('# %s\n' % command_line_options(args))
+    logfile.write('$ %s\n' % command_line_options(args))
+    logfile.flush()
     p = subprocess.Popen(args, stdout=logfile, stderr=logfile)
     p.wait()
     assert p.returncode == 0

-- 
live-studio



More information about the debian-live-changes mailing list