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

[SCM] Debian package checker branch, master, updated. 2.4.3-30-g57a16e8



The following commit has been merged in the master branch:
commit 57a16e8bf68374f53d48d6048220522e09797fd9
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Dec 22 18:40:35 2010 +0100

    Fix needs-info-missing the "right" way.

diff --git a/lib/Lintian/Collect/Binary.pm b/lib/Lintian/Collect/Binary.pm
index bc297fb..8198606 100644
--- a/lib/Lintian/Collect/Binary.pm
+++ b/lib/Lintian/Collect/Binary.pm
@@ -123,6 +123,7 @@ sub index {
 }
 
 # Returns sorted file index (eqv to sort keys %{$info->index}), except it is cached.
+#  sub sorted_index Needs-Info <>
 sub sorted_index {
     my ($self) = @_;
     my $index;
diff --git a/t/scripts/needs-info-missing.t b/t/scripts/needs-info-missing.t
index c658487..3999fce 100755
--- a/t/scripts/needs-info-missing.t
+++ b/t/scripts/needs-info-missing.t
@@ -73,8 +73,6 @@ for my $module (@MODULES) {
     }
 
     delete $seen_subs{'new'};
-    # Extension of index
-    delete $seen_subs{'sorted_index'};
 
     is(scalar(keys(%seen_subs)) + scalar(keys(%seen_needsinfo)), 0,
 	"$pretty_module has per-method needs-info") or

-- 
Debian package checker


Reply to: