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

[lintian] 02/06: fixup! c/r-sync-state: Prune entries from the lab



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit fc3564a16908e315ce6f470c8f5a329328a80de0
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Feb 10 08:58:42 2015 +0100

    fixup! c/r-sync-state: Prune entries from the lab
---
 commands/reporting-sync-state | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/commands/reporting-sync-state b/commands/reporting-sync-state
index ce4a6c6..b2472b7 100755
--- a/commands/reporting-sync-state
+++ b/commands/reporting-sync-state
@@ -431,14 +431,14 @@ sub prune_lintian_lab {
     my $err;
     eval {
         $lab->open;
-        $lab->visit_packages('ALL', sub {
+        $lab->visit_packages(sub {
             my ($lpkg) = @_;
             my $id = $lpkg->proc_id;
             if (not exists($state->{'members-to-groups'}{$id})) {
                 log_debug("Removing ${id} from lab");
                 $lpkg->remove if (not $OPT{'dry-run'});
             }
-        });
+        }, 'ALL');
     };
     $err = $@;
     eval {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: