[libconfig-model-dpkg-perl] 13/36: Scanner: improve warning message

dod at debian.org dod at debian.org
Sat Oct 17 16:27:12 UTC 2015


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 858854924ed44fc51e9bff0ada586ef9f7f792ef
Author: Dominique Dumont <dod at debian.org>
Date:   Mon Oct 12 13:49:11 2015 +0200

    Scanner: improve warning message
---
 lib/Dpkg/Copyright/Scanner.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm
index 6498e5c..447afa9 100644
--- a/lib/Dpkg/Copyright/Scanner.pm
+++ b/lib/Dpkg/Copyright/Scanner.pm
@@ -178,7 +178,8 @@ sub scan_files ( %args ) {
 
     my @notused = grep { ! $fill_blank_data->{$_}{used} and $_; } sort keys %$fill_blank_data ;
     if (@notused) {
-        warn "Warning: the following entries from fill.copyright.blanks were not used\n".join("\n", at notused);
+        warn "Warning: the following entries from fill.copyright.blanks were not used\n- '"
+            .join("'\n- '", at notused)."'\n";
     }
 
     my @copyrights_by_id ;

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