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

[lintian] 01/01: r-sync-state: Correctly drop unused groups



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

nthykier pushed a commit to branch master
in repository lintian.

commit 50096eb3775ff7148f021e1b16919f0f6c80b73c
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Feb 13 19:08:31 2015 +0100

    r-sync-state: Correctly drop unused groups
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 commands/reporting-sync-state | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/reporting-sync-state b/commands/reporting-sync-state
index de02dc5..eafe838 100755
--- a/commands/reporting-sync-state
+++ b/commands/reporting-sync-state
@@ -249,7 +249,7 @@ sub cleanup_group_state {
     $members = $group_data->{'members'};
     if (not exists($ACTIVE_GROUPS{$group_id}) or not $members) {
         # No members left, remove the group entirely
-        delete($state->{$group_id});
+        delete($state->{'groups'}{$group_id});
         if (exists($ACTIVE_GROUPS{$group_id})) {
             log_debug("Group ${group_id} dropped: It is not an active group");
         } else {

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


Reply to: