[libconfig-model-dpkg-perl] 20/27: Scanner: reverse sort copyright owner

dod at debian.org dod at debian.org
Mon Jan 12 07:09:50 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 d6a256390e0a122565df7bf9deb0689b9ce3c920
Author: Dominique Dumont <dod at debian.org>
Date:   Tue Dec 30 20:47:25 2014 +0100

    Scanner: reverse sort copyright owner
---
 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 cc28dac..2fe451b 100644
--- a/lib/Dpkg/Copyright/Scanner.pm
+++ b/lib/Dpkg/Copyright/Scanner.pm
@@ -153,7 +153,7 @@ sub __pack_copyright ($r) {
         push @res, $span->get_range_list. ', '. $owner;
     }
 
-    return join("\n  ", at res);
+    return join("\n  ",reverse sort @res);
 }
 
 #in each directory, pack files that have the same copyright/license information

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