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

[lintian] 01/01: c/files.pm: Avoid "Mixed high and low-precedence booleans" perlcritic warning.



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

lamby pushed a commit to branch master
in repository lintian.

commit 9f298e96673a11965b16645cb34720c23b9ead4b
Author: Chris Lamb <lamby@debian.org>
Date:   Sun May 21 10:15:48 2017 +0200

    c/files.pm: Avoid "Mixed high and low-precedence booleans" perlcritic warning.
---
 checks/files.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/files.pm b/checks/files.pm
index 74c86df..9d65d0a 100644
--- a/checks/files.pm
+++ b/checks/files.pm
@@ -748,7 +748,7 @@ sub run {
             elsif ($fname =~ m,^usr/lib/R/site-library/\S,) {
                 if (   $file->is_file
                     && $file =~ m,\.(?:rda|Rda|rdata|Rdata)$,
-                    && not $info->index_resolved_path('debian/README.source'))
+                    && !$info->index_resolved_path('debian/README.source'))
                 {
                     tag 'r-data-without-readme-source', $file;
                 }

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


Reply to: