[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 455653bf15eb97c6d3ac90651034fea491e3d53d
Author: Chris Lamb <lamby at debian.org>
Date:   Fri Jul 30 20:41:32 2010 -0400

    Print the exception first in case update(..) fails

diff --git a/live_studio/build/management/commands/queue_runner.py b/live_studio/build/management/commands/queue_runner.py
index c60b1da..a83fe88 100644
--- a/live_studio/build/management/commands/queue_runner.py
+++ b/live_studio/build/management/commands/queue_runner.py
@@ -121,8 +121,8 @@ class Command(NoArgsCommand):
 
                     self.log.info("#%d built successfully", build.pk)
                 except:
-                    update(finished=datetime.datetime.now())
                     self.log.exception("#%d failed", build.pk)
+                    update(finished=datetime.datetime.now())
                     continue
                 finally:
                     os.chdir(tempdir)

-- 
live-studio



More information about the debian-live-changes mailing list