[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 19c415adae387d7401cd080a78fff296849d8c47
Author: Chris Lamb <lamby at debian.org>
Date: Thu Jul 29 19:04:16 2010 -0400
Can pass kwargs to check_call
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 9b308c7..8605543 100644
--- a/live_studio/build/management/commands/queue_runner.py
+++ b/live_studio/build/management/commands/queue_runner.py
@@ -16,9 +16,7 @@ from live_studio.templatetags.text import command_line_options
def call(logfile, 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
+ subprocess.check_call(args, stdout=logfile, stderr=logfile)
class Command(NoArgsCommand):
def handle_noargs(self, **options):
--
live-studio
More information about the debian-live-changes
mailing list