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

[lintian] 01/01: c/changes-file.pm: Avoid 'Mixed high and low-precedence booleans' critic warning.



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

lamby pushed a commit to branch master
in repository lintian.

commit 0a3d500eb52336d925ef2c8de4227f0ed249719e
Author: Chris Lamb <lamby@debian.org>
Date:   Sun Jul 16 11:16:54 2017 +0100

    c/changes-file.pm: Avoid 'Mixed high and low-precedence booleans' critic warning.
    
    Signed-off-by: Chris Lamb <lamby@debian.org>
---
 checks/changes-file.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/checks/changes-file.pm b/checks/changes-file.pm
index 4e03f89..03655a5 100644
--- a/checks/changes-file.pm
+++ b/checks/changes-file.pm
@@ -198,9 +198,9 @@ sub run {
         # signature.
         if (   $has_signing_key
             && $file =~ m/\.orig\.tar\./
-            && $file !~ m/\.asc$/
-            && not exists $files->{"$file.asc"}) {
-            tag 'orig-tarball-missing-upstream-signature', "$file";
+            && $file !~ m/\.asc$/) {
+            next if exists $files->{"$file.asc"};
+            tag 'orig-tarball-missing-upstream-signature', $file;
         }
 
         # check section

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


Reply to: