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 5a2c525c6872c9be26b416e85b79d1511e110ced
Author: Dominique Dumont <d...@debian.org>
Date:   Fri Apr 18 19:46:43 2014 +0200

    check_perl_lib_dep cleanup
---
 lib/Config/Model/Dpkg/Dependency.pm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/Config/Model/Dpkg/Dependency.pm 
b/lib/Config/Model/Dpkg/Dependency.pm
index 66073cd..06d5d6f 100644
--- a/lib/Config/Model/Dpkg/Dependency.pm
+++ b/lib/Config/Model/Dpkg/Dependency.pm
@@ -551,8 +551,7 @@ sub check_perl_lib_dep {
                $logger->debug("dual life $dep_str aka $dep_name_as_perl[0] 
found in Perl core $v_normal");
        }
 
-       @res = $self->check_versioned_dep(  ['perl', '>=', $v_normal] );
-       my $has_older_perl = $res[0] ;
+       my ($has_older_perl) = $self->check_versioned_dep(  ['perl', '>=', 
$v_normal] );
        push @ideal_perl_dep, '>=', $v_normal if $has_older_perl;
 
        if ( defined $dep_v ) {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to