[lintian] 01/01: c/r-lintian-harness: Clear the error-counter on a success
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit bc472ef8b4ea4e00d3b02902a24b46a5ea102197
Author: Niels Thykier <niels@thykier.net>
Date: Mon Feb 5 17:57:38 2018 +0000
c/r-lintian-harness: Clear the error-counter on a success
Signed-off-by: Niels Thykier <niels@thykier.net>
---
commands/reporting-lintian-harness.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/commands/reporting-lintian-harness.pm b/commands/reporting-lintian-harness.pm
index 4d22492..a51e683 100644
--- a/commands/reporting-lintian-harness.pm
+++ b/commands/reporting-lintian-harness.pm
@@ -415,6 +415,8 @@ sub process_worklist {
$group_data = $state->{'groups'}{$group_id};
$group_data->{'last-processed-by'} = $LINTIAN_VERSION;
delete($group_data->{'out-of-date'});
+ # Always clear the error counter after a successful run.
+ delete($group_data->{'processing-errors'});
}
for my $group_id (sort(keys(%errors))) {
my $group_data;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: