[libconfig-model-dpkg-perl] 02/04: Copyright License text: suppress misleading warning

dod at debian.org dod at debian.org
Fri Oct 31 13:20:29 UTC 2014


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

dod pushed a commit to branch jessie
in repository libconfig-model-dpkg-perl.

commit 2c6f284200efb631e7e377a528caa6087e0ee271
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Oct 31 13:47:21 2014 +0100

    Copyright License text: suppress misleading warning
---
 lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl b/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
index 12eb39a..21c10bb 100644
--- a/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
+++ b/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
@@ -32,9 +32,11 @@ if (defined $lic and $lic) {
        $text = Software::LicenseUtils->new_from_short_name($h)->debian_text ;
    } ;
 
-   if ($@ and ! $self->{data}) {
-       print "Cannot find license text for $lic\\n" ;
-   }
+# FIXME: find a way to warn user if a license is unknown only when
+# text is not set by another mean...
+#   if ($@ and ! $self->value_object->{data}) {
+#       print "Cannot find license text for $lic\\n" ;
+#   }
 }
 
 $text;',

-- 
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