[lintian] 02/03: checks/python.pm: Simplify logic of dependency-on-python-version-marked-for-end-of-life; checking for ":any" will match the standard case too.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 892be8d33da3c20c4a5eb19b10d3f8ebbede8100
Author: Chris Lamb <lamby@debian.org>
Date: Wed Dec 6 18:09:26 2017 +0000
checks/python.pm: Simplify logic of dependency-on-python-version-marked-for-end-of-life; checking for ":any" will match the standard case too.
---
checks/python.pm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/checks/python.pm b/checks/python.pm
index c37ffd5..9be5ce2 100644
--- a/checks/python.pm
+++ b/checks/python.pm
@@ -83,8 +83,7 @@ sub _run_binary {
for my $dep (@PYTHON2) {
tag 'dependency-on-python-version-marked-for-end-of-life',
"($field: $dep)"
- if $info->relation($field)->implies($dep)
- or $info->relation($field)->implies("$dep:any");
+ if $info->relation($field)->implies("$dep:any");
}
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: