[libconfig-model-dpkg-perl] 02/05: Scanner: rename __pack -> __pack_files
dod at debian.org
dod at debian.org
Wed Jan 14 20:07:14 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 af33a226ee42df8e9526d08a8c2d70db4c1d4078
Author: Dominique Dumont <dod at debian.org>
Date: Wed Jan 14 18:47:07 2015 +0100
Scanner: rename __pack -> __pack_files
---
lib/Dpkg/Copyright/Scanner.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm
index 664f39a..a041868 100644
--- a/lib/Dpkg/Copyright/Scanner.pm
+++ b/lib/Dpkg/Copyright/Scanner.pm
@@ -110,7 +110,7 @@ sub scan_files {
# pack files by copyright id
my @packed;
- __pack($files,\@packed);
+ __pack_files($files,\@packed);
my @copyright_data;
@@ -151,12 +151,12 @@ sub __pack_copyright ($r) {
}
#in each directory, pack files that have the same copyright/license information
-sub __pack ($h, $pack, @path) {
+sub __pack_files ($h, $pack, @path) {
my $old_id ;
foreach my $file (sort keys %$h) {
my $id = $h->{$file};
if (ref($id)) {
- __pack($id, $pack, @path, $file) ;
+ __pack_files($id, $pack, @path, $file) ;
}
elsif (defined $old_id and $old_id == $id ) {
push $pack->[$#$pack]->@*, join('/', at path,$file);
--
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