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

[lintian] 01/01: checks/python.pm: Don't capture groups to appease Test::Perl::Critic.



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

lamby pushed a commit to branch master
in repository lintian.

commit 7bad0b22a73598512a97d0315d41d5310292d356
Author: Chris Lamb <lamby@debian.org>
Date:   Tue Jan 9 22:51:40 2018 +0530

    checks/python.pm: Don't capture groups to appease Test::Perl::Critic.
---
 checks/python.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/python.pm b/checks/python.pm
index d77863b..96d37a4 100644
--- a/checks/python.pm
+++ b/checks/python.pm
@@ -105,7 +105,7 @@ 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/imn
         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: