[SCM] live-studio branch, master, updated. 7c824ca82f58ad0a21bce6bea2f1675d859cec1a

Chris Lamb lamby at debian.org
Sat Jul 31 01:02:05 UTC 2010


The following commit has been merged in the master branch:
commit 05714d8cae9e5a1429e381d2638550d7aaa5028b
Author: Chris Lamb <lamby at debian.org>
Date:   Fri Jul 30 20:59:28 2010 -0400

    Also set attributes on the local object.

diff --git a/live_studio/build/management/commands/queue_runner.py b/live_studio/build/management/commands/queue_runner.py
index a83fe88..2075216 100644
--- a/live_studio/build/management/commands/queue_runner.py
+++ b/live_studio/build/management/commands/queue_runner.py
@@ -76,6 +76,11 @@ class Command(NoArgsCommand):
                     self.log.debug('Updating #%d with %r', build.pk, kwargs)
                     Build.objects.filter(pk=build.pk).update(**kwargs)
 
+                    # Also set attributes on the local object so the are up to
+                    # date
+                    for k, v in kwargs.iteritems():
+                        setattr(build, k, v)
+
                 update(started=datetime.datetime.now())
 
                 tempdir = tempfile.mkdtemp(prefix='live-studio_')

-- 
live-studio



More information about the debian-live-changes mailing list