[libconfig-model-dpkg-perl] 27/36: Scanner: avoid trailing white space in copyright

dod at debian.org dod at debian.org
Sat Oct 17 16:27:16 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 0d4821e05ab5a578eaa5b1b4967a4f886cc9d84f
Author: Dominique Dumont <dod at debian.org>
Date:   Thu Oct 15 21:08:53 2015 +0200

    Scanner: avoid trailing white space in copyright
---
 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 447afa9..dd54995 100644
--- a/lib/Dpkg/Copyright/Scanner.pm
+++ b/lib/Dpkg/Copyright/Scanner.pm
@@ -249,7 +249,7 @@ sub __pack_copyright ($r) {
             }
         }
         $span->consolidate();
-        push @res, $span->get_range_list. ', '. $owner;
+        push @res, $span->get_range_list. ($owner ? ', '. $owner : '');
     }
     return join("\n ",reverse sort @res);
 }

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