[lintian] 01/01: checks/python.pm: Use (?: ... ) over /n modifier to appease minimum version check.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 16f34ebf94eb8ee469f6746fdde47fdc2e5326bc
Author: Chris Lamb <lamby@debian.org>
Date: Wed Jan 10 08:20:13 2018 +0530
checks/python.pm: Use (?: ... ) over /n modifier to appease minimum version check.
---
checks/python.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/python.pm b/checks/python.pm
index 96d37a4..9ca2893 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/imn
+ 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: