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

lamby pushed a commit to branch master
in repository lintian.

commit 2bdab9f22cfc7c7784fe9dfb169bb70c147b2b89
Author: Chris Lamb <la...@debian.org>
Date:   Tue Jan 9 13:49:23 2018 +0530

    checks/python.pm: Rewrite python-foo-but-no-python3 to use 'next' control 
flow (for next commit)
---
 checks/python.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/checks/python.pm b/checks/python.pm
index dc64bbd..a21bc35 100644
--- a/checks/python.pm
+++ b/checks/python.pm
@@ -62,8 +62,8 @@ sub _run_source {
         if ($bin =~ /^python2?-(.*)$/) {
             my $suffix = $1;
             next if any { $bin =~ /$_/ } @IGNORE;
-            tag 'python-foo-but-no-python3-foo', $bin
-              unless any { $_ eq "python3-${suffix}" } @package_names;
+            next if any { $_ eq "python3-${suffix}" } @package_names;
+            tag 'python-foo-but-no-python3-foo', $bin;
         }
     }
 

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

Reply via email to