[libconfig-model-dpkg-perl] 01/03: Dpkg Control: can now fix formatting of Description when more than one paragraph has too long lines

dod at debian.org dod at debian.org
Wed May 13 17:44:02 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 05e759de5df2bfb4aa6b9d61aad7c0aebf81dc5e
Author: Dominique Dumont <dod at debian.org>
Date:   Wed May 13 19:41:54 2015 +0200

    Dpkg Control: can now fix formatting of Description when more than one paragraph has too long lines
---
 lib/Config/Model/models/Dpkg/Control/Binary.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Config/Model/models/Dpkg/Control/Binary.pl b/lib/Config/Model/models/Dpkg/Control/Binary.pl
index a2447e3..09c7505 100644
--- a/lib/Config/Model/models/Dpkg/Control/Binary.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Binary.pl
@@ -254,7 +254,7 @@ A package including binaries from grub2 and loadlin would have this field in its
 if ($@) { CORE::warn "cannot fix without Text::Autoformat"}
 else {
         import Text::Autoformat ;
-        $_ = autoformat($_) ;
+        $_ = autoformat($_, {all => 1}) ;
 	chomp;
 }',
             'msg' => 'Line too long in description'

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