The following commit has been merged in the master branch:
commit 8b5270c144a88df7495fa2a3e5eabade951d5caa
Author: Niels Thykier <[email protected]>
Date:   Tue Jan 29 11:32:28 2013 +0100

    lintian: Use local variable instead of invoking "getter"
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/frontend/lintian b/frontend/lintian
index a083a46..af54876 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1035,8 +1035,8 @@ my $collmap = Lintian::DepMap::Properties->new();
         my ($cs) = @_;
         my $coll = $cs->name;
         debug_msg(2, "Read collector description for $coll ...");
-        $collmap->add ($cs->name, $cs->needs_info, $cs);
-        $map->addp ('coll-' . $cs->name, 'coll-', $cs->needs_info);
+        $collmap->add ($coll, $cs->needs_info, $cs);
+        $map->addp ('coll-' . $coll, 'coll-', $cs->needs_info);
         push @auto_remove, $coll if $cs->auto_remove;
     };
 

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to