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

[lintian] 01/04: c/r-sync-state: Fix inverted boolean logic (for debug output)



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

nthykier pushed a commit to branch master
in repository lintian.

commit bb34a227c8a8221521fdfe5758ea220be2f1c853
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Jan 15 22:18:37 2016 +0000

    c/r-sync-state: Fix inverted boolean logic (for debug output)
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 commands/reporting-sync-state.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/reporting-sync-state.pm b/commands/reporting-sync-state.pm
index 2fedcc8..69ff1b8 100644
--- a/commands/reporting-sync-state.pm
+++ b/commands/reporting-sync-state.pm
@@ -222,7 +222,7 @@ sub cleanup_group_state {
     if (not exists($ACTIVE_GROUPS{$group_id}) or not $members) {
         # No members left, remove the group entirely
         delete($state->{'groups'}{$group_id});
-        if (exists($ACTIVE_GROUPS{$group_id})) {
+        if (not exists($ACTIVE_GROUPS{$group_id})) {
             log_debug("Group ${group_id} dropped: It is not an active group");
         } else {
             log_debug("Group ${group_id} dropped: No members left (early)");

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


Reply to: