[SCM] Debian package checker branch, infra-513663, updated. 2.5.0-rc1-124-ged8ab87
The following commit has been merged in the infra-513663 branch:
commit ed8ab87a4c43e31a60405346ae757c18fc1c2f04
Author: Niels Thykier <niels@thykier.net>
Date: Sat Apr 2 12:03:14 2011 +0200
Fixed regression due to name shadowing and removed unused $vars
diff --git a/frontend/lintian b/frontend/lintian
index 9df42a5..106a595 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1036,8 +1036,6 @@ my %overrides;
foreach my $gname (sort $pool->get_group_names()) {
my $group = $pool->get_group($gname);
- my $ginfo = {};
- my $glpkg = {};
unpack_group($group);
process_group($group) if $action eq 'check';
}
diff --git a/lib/Lintian/Processable.pm b/lib/Lintian/Processable.pm
index 40984d9..1ba65a2 100644
--- a/lib/Lintian/Processable.pm
+++ b/lib/Lintian/Processable.pm
@@ -134,7 +134,7 @@ sub info{
if (! defined $info) {
# load only if we need it
require Lintian::Collect;
- my $info = Lintian::Collect->new($self->pkg_name(), $self->pkg_type());
+ $info = Lintian::Collect->new($self->pkg_name(), $self->pkg_type());
$self->{info} = $info;
}
return $info;
--
Debian package checker
Reply to: