This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit 5e309b143e7d08b488c6ba2c246d0288c97ee959
Author: Alex Muntada <al...@alexm.org>
Date:   Mon Nov 28 22:03:24 2016 +0100

    Fix perlcritic alert
    
    Variable declared in conditional statement at line 153, column 1.
    Declare variables outside of the condition.  (Severity: 5)
    
    Gbp-Dch: Ignore
---
 scripts/forward | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/forward b/scripts/forward
index d0cea27..b57cb9d 100755
--- a/scripts/forward
+++ b/scripts/forward
@@ -150,7 +150,8 @@ $opt_meta_file //= 'META.yml' if -e 'META.yml';
 my $meta;
 $meta = CPAN::Meta->load_file($opt_meta_file) if $opt_meta_file;
 
-my $upstream_metadata = LoadFile('debian/upstream/metadata')
+my $upstream_metadata;
+$upstream_metadata = LoadFile('debian/upstream/metadata')
     if -e 'debian/upstream/metadata';
 
 $opt_dist ||= $meta->name if $meta;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.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