[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 04/04: L::C::Package: Remove invalid reverse of a sorted list



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 4b51263b2104b86e5f3287dbca26f8a158f5c428
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Jul 20 19:03:25 2015 +0200

    L::C::Package: Remove invalid reverse of a sorted list
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 lib/Lintian/Collect/Package.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/Lintian/Collect/Package.pm b/lib/Lintian/Collect/Package.pm
index 1658faa..02f7b5a 100644
--- a/lib/Lintian/Collect/Package.pm
+++ b/lib/Lintian/Collect/Package.pm
@@ -603,7 +603,6 @@ sub _fetch_index_data {
                 $child_table{$basename} = $child;
                 push(@sorted_children, $child);
             }
-            @sorted_children = reverse(@sorted_children);
             $entry->{'_sorted_children'} = \@sorted_children;
             $entry->{'children'} = \%child_table;
             $entry->{'_fs_info'} = $fs_info;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: