[libconfig-model-dpkg-perl] 01/05: remove debug trace from read install file code

dod at debian.org dod at debian.org
Sat Apr 22 09:58:01 UTC 2017


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 f5831461f2b5f50283b666896733c5d85b2bb1fb
Author: Dominique Dumont <dod at debian.org>
Date:   Sun Apr 9 19:44:28 2017 +0200

    remove debug trace from read install file code
---
 lib/Config/Model/Backend/Dpkg.pm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/Config/Model/Backend/Dpkg.pm b/lib/Config/Model/Backend/Dpkg.pm
index 9a5df05..708f768 100644
--- a/lib/Config/Model/Backend/Dpkg.pm
+++ b/lib/Config/Model/Backend/Dpkg.pm
@@ -38,9 +38,8 @@ sub read_install_files ( $self, $hash, $elt, $file, $check, $args ) {
     foreach my $file ($dir->children(qr/\.install$/)) {
         my $pkg =  $file->basename(qr/\.install$/);
         $logger->info("install: found $pkg install file");
-        # create element. Read backend will kick in itself
-        my @content = $hash->fetch_with_id($pkg)->grab("list")->fetch_all_values;
-        say @content;
+        # Just create the element. The read backend will kick in by itself
+        $hash->fetch_with_id($pkg);
     }
 }
 

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