[libconfig-model-dpkg-perl] 07/10: Make unused license "fixable"
dod at debian.org
dod at debian.org
Wed Sep 28 10:10:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.
commit f5d979714790c513973842e21fdc3188f19de1eb
Author: Dominique Dumont <dod at debian.org>
Date: Fri Sep 23 13:43:45 2016 +0200
Make unused license "fixable"
The call to inc_fixes tell AnyId object (super class) that a fix is
ready and can be triggered by apply_fixes. Otherwise, TkUi disables the
apply_fix button
---
lib/Config/Model/Dpkg/Copyright/License.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/Config/Model/Dpkg/Copyright/License.pm b/lib/Config/Model/Dpkg/Copyright/License.pm
index ca706eb..b9747ec 100644
--- a/lib/Config/Model/Dpkg/Copyright/License.pm
+++ b/lib/Config/Model/Dpkg/Copyright/License.pm
@@ -42,6 +42,7 @@ sub check_idx {
else {
$self->{warning_hash}{$idx} //= [];
my $warn = "License $idx is not used in Files: section";;
+ $self->inc_fixes;
push $self->{warning_hash}{$idx}->@*, $warn;
warn "$warn\n" unless $silent;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git
More information about the Pkg-perl-cvs-commits
mailing list