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

lamby pushed a commit to branch master
in repository lintian.

commit 5f9248eabbfcf7f3527c0195f6b6a621d1243339
Author: Chris Lamb <la...@debian.org>
Date:   Sun Feb 4 09:55:08 2018 +0000

    Don't fail if dpdir is undefined.
---
 checks/patch-systems.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/patch-systems.pm b/checks/patch-systems.pm
index 11f9185..2c49714 100644
--- a/checks/patch-systems.pm
+++ b/checks/patch-systems.pm
@@ -227,7 +227,7 @@ sub run {
     }
 
     #----- look for unreferenced files in debian/patches
-    if ($dpdir->is_dir and $format ne '2.0') {
+    if ($dpdir and $dpdir->is_dir and $format ne '2.0') {
         # Check all series files, including $vendor.series
         foreach my $file ($dpdir->children) {
             next unless $file =~ /\/(.+\.)?series$/;

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

Reply via email to