[libconfig-model-dpkg-perl] 01/02: LicenseSpec: warn only if license is empty and Software::License cannot find some text
dod at debian.org
dod at debian.org
Sat Sep 27 19:27:37 UTC 2014
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 0751c710ae057434a5106ac7a512a380ce5e9144
Author: Dominique Dumont <dod at debian.org>
Date: Sat Sep 27 21:22:10 2014 +0200
LicenseSpec: warn only if license is empty and Software::License cannot find some text
---
lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl b/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
index f33cce5..18ef233 100644
--- a/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
+++ b/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
@@ -31,7 +31,7 @@ if (defined $lic and $lic) {
Software::LicenseUtils->new_from_short_name($h)->debian_text ;
} ;
- if ($@) {
+ if ($@ and ! $self->{data}) {
print "Cannot find license text for $lic\\n" ;
}
}',
--
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