[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: checks/python.pm: Perltidy



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

lamby pushed a commit to branch master
in repository lintian.

commit f09687ec57def5ddb9c58d90bc22751b3016c765
Author: Chris Lamb <lamby@debian.org>
Date:   Wed Jan 10 08:39:58 2018 +0530

    checks/python.pm: Perltidy
---
 checks/python.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/checks/python.pm b/checks/python.pm
index 9ca2893..53b6a15 100644
--- a/checks/python.pm
+++ b/checks/python.pm
@@ -105,7 +105,8 @@ sub _run_binary {
     if (    $pkg =~ /^python2?-/
         and none { $pkg =~ /$_$/ } @IGNORE
         and @entries == 1
-        and $entries[0]->Changes !~ /\bpython 2(?:\.x)? (?:variant|version)\b/im
+        and $entries[0]->Changes
+        !~ /\bpython 2(?:\.x)? (?:variant|version)\b/im
         and index($entries[0]->Changes, $pkg) == -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 to: