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

nthykier pushed a commit to branch master
in repository lintian.

commit 7620d95dc6aa8a3930906b531fe77ef278aea9ca
Author: Niels Thykier <[email protected]>
Date:   Sat Dec 24 10:13:27 2016 +0000

    c/scripts: Handle absent to changelog
    
    Signed-off-by: Niels Thykier <[email protected]>
---
 checks/scripts.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/scripts.pm b/checks/scripts.pm
index daab589..65db226 100644
--- a/checks/scripts.pm
+++ b/checks/scripts.pm
@@ -1109,7 +1109,7 @@ sub run {
         }
     }
 
-    my @entries = $info->changelog->data;
+    my @entries = $info->changelog ? $info->changelog->data : ();
 
     if (@entries == 1) {
         tag 'new-package-should-not-package-python2-module', $pkg

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git

Reply via email to