[libconfig-model-dpkg-perl] 01/01: copyright backend: improved error message

dod at debian.org dod at debian.org
Sun Oct 13 17:03:01 UTC 2013


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 28cd89c4e151d31b21c41ea6ecd57d01ba57abc8
Author: Dominique Dumont <dod at debian.org>
Date:   Sun Oct 13 19:02:51 2013 +0200

    copyright backend: improved error message
---
 lib/Config/Model/Backend/Dpkg/Copyright.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Config/Model/Backend/Dpkg/Copyright.pm b/lib/Config/Model/Backend/Dpkg/Copyright.pm
index c550f6a..bffa558 100644
--- a/lib/Config/Model/Backend/Dpkg/Copyright.pm
+++ b/lib/Config/Model/Backend/Dpkg/Copyright.pm
@@ -82,7 +82,7 @@ sub read {
             ) {
             # Some legacy files can have a header and one paragraph with License tag
             # more often than not, this is an implied "File: *"  section
-            my $str = "Missing 'Files:' specification in section starting line $section_line.";
+            my $str = "Missing 'Files:' specification in section starting line $section_line. Use cme fix with -force option to load";
             Config::Model::Exception::Syntax 
                 -> throw ( object => $self, error => $str, parsed_line => $section_line ) 
                     if $check eq 'yes' ;

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