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

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

commit 85cc9651cb9e17d6e6094cafe00c0f857daa4d24
Author: gregor herrmann <gre...@debian.org>
Date:   Sat May 28 15:35:38 2016 +0200

    t/github.t: fix "Use of uninitialized value $ENV{"DPT_GITHUB_OAUTH"}"
    
    Gbp-Dch: Ignore
---
 t/github.t | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/t/github.t b/t/github.t
index 6f49518..1cd55f3 100644
--- a/t/github.t
+++ b/t/github.t
@@ -8,7 +8,8 @@ use Test::More;
 BEGIN {
     plan skip_all
         => "GitHub tests require DPT_GITHUB_OAUTH token and Net::GitHub"
-        unless $ENV{DPT_GITHUB_OAUTH} =~ /^\w+$/
+        unless $ENV{DPT_GITHUB_OAUTH}
+        and $ENV{DPT_GITHUB_OAUTH} =~ /^\w+$/
         and eval "use Net::GitHub; 1";
 }
 

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