[libconfig-model-dpkg-perl] 02/23: Scanner: remove spaces during regexp cleanup

dod at debian.org dod at debian.org
Mon Feb 13 12:29:37 UTC 2017


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 7dde43e7234829e54c45ef78ea0ba3ea7669cec5
Author: Dominique Dumont <dod at debian.org>
Date:   Sat Jan 21 19:06:33 2017 +0100

    Scanner: remove spaces during regexp cleanup
---
 lib/Dpkg/Copyright/Scanner.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm
index 363dd7b..75b5aa8 100644
--- a/lib/Dpkg/Copyright/Scanner.pm
+++ b/lib/Dpkg/Copyright/Scanner.pm
@@ -147,7 +147,7 @@ $default{check} = << 'EOR2' ;
 EOR2
 
 # cleanup the regexp
-map { s/#.*\n//g;  s/\n//g; } values %default;
+map { s/#.*\n//g;  s/[\s\n]+//g; } values %default;
 
 # option to skip UNKNOWN ?
 # load a file to override some entries ?

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