[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.0-rc2-122-g12888e8



The following commit has been merged in the master branch:
commit ab148dcdd00a1878e0947827ab3168511e5eba04
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Jan 13 21:15:22 2011 +0100

    Conditionally leave the collection-reap loop
    
    Only leave the loop that reaps collection processes if the finished
    collection will allow Lintian to start a new collection or check.

diff --git a/frontend/lintian b/frontend/lintian
index 842efae..dd0c46b 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1199,9 +1199,9 @@ foreach my $pkg_info ($schedule->get_all) {
 
 	    $map->satisfy('coll-' . $coll);
 
-	    # give a chance to other jobs to finish while we
-	    # process other stuff:
-	    last;
+	    # If that node allowed us to start on another, then we
+	    # leave this loop.
+	    last unless ($map->selectable());
 	}
 
 	unless ($no_override or $loaded_overrides) {

-- 
Debian package checker


Reply to: