changeset 446:a8c331c2d500

Attempt at a fix for #165.
author cmlenz
date Thu, 23 Aug 2007 17:59:58 +0000
parents d139ac1d216a
children cdce97e97cca
files bitten/queue.py
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/queue.py
+++ b/bitten/queue.py
@@ -138,7 +138,10 @@
         builds_to_delete = []
         for build in Build.select(self.env, status=Build.PENDING, db=db):
             if self.should_delete_build(build, repos):
-               builds_to_delete.append(build)
+                self.log.info('Scheduling build of configuration "%s" at '
+                              'revision [%s] on %r for deletion', config.name,
+                              rev, platform.name)
+                builds_to_delete.append(build)
             elif build.platform in platforms:
                 break
         else:
@@ -233,8 +236,8 @@
 
                 if not self.build_all:
                     self.log.debug('Ignoring older revisions for configuration '
-                                   '%r', config.name)
-                    break
+                                   '%r on %r', config.name, platform.name)
+                    continue
 
         for build in builds:
             build.insert(db=db)
Copyright (C) 2012-2017 Edgewall Software