[libconfig-model-dpkg-perl] 08/24: Dpkg::Dep: cleanup cache_info_from_madison

dod at debian.org dod at debian.org
Sun Apr 20 13:07:46 UTC 2014


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 2a732b9960316b17a33df0262b1330b4531c41b0
Author: Dominique Dumont <dod at debian.org>
Date:   Tue Apr 15 19:41:39 2014 +0200

    Dpkg::Dep: cleanup  cache_info_from_madison
---
 lib/Config/Model/Dpkg/Dependency.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/Config/Model/Dpkg/Dependency.pm b/lib/Config/Model/Dpkg/Dependency.pm
index 25ac72f..4506dc5 100644
--- a/lib/Config/Model/Dpkg/Dependency.pm
+++ b/lib/Config/Model/Dpkg/Dependency.pm
@@ -839,11 +839,11 @@ sub get_available_version {
 }
 
 # this function queries *once* madison for package info not found in cache.
-# it should be called once when parding control file
+# it should be called once when parsing control file
 sub cache_info_from_madison {
     my ($callback, at pkg_names) = @_ ;
 
-    $async_log->debug("called on @pkg_names");
+    $logger->debug("called on @pkg_names");
 
     my $necessary = 0;
     my @needed;
@@ -852,7 +852,7 @@ sub cache_info_from_madison {
         next if $virtual_hash{$pkg_name} ; # skip known virtual package
         my ($time, at res) = split / /, ($cache{$pkg_name} || '');
         if (defined $time and $time =~ /^\d+$/ and $time > $cache_expire_date) {
-            $async_log->debug("using cached info for $pkg_name");
+            $logger->debug("using cached info for $pkg_name");
         }
         else {
             push @needed, $pkg_name;

-- 
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