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

[lintian] 03/03: Run perltidy



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

broucaries-guest pushed a commit to branch master
in repository lintian.

commit c338ff801c87a2bed4e15fd2a2203bc81019d7fc
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date:   Sun May 31 21:35:41 2015 +0200

    Run perltidy
---
 checks/cruft.pm | 2 +-
 checks/files.pm | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/checks/cruft.pm b/checks/cruft.pm
index 284b4a5..5419af7 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -645,7 +645,7 @@ sub find_cruft {
         if ($basename =~ /\blenn?a\b/i) {
             if(    $file_info =~ /\bimage\b/i
                 or $file_info =~ /^Matlab v\d+ mat/i
-                or$file_info =~ /\bbitmap\b/i) {
+                or $file_info =~ /\bbitmap\b/i) {
                 tag 'license-problem-non-free-img-lenna', $name;
             }
 
diff --git a/checks/files.pm b/checks/files.pm
index 1d458d2..e776151 100644
--- a/checks/files.pm
+++ b/checks/files.pm
@@ -1348,7 +1348,8 @@ sub run {
 
             # ---------------- html/javascript
             if ($fname =~ m,\.(?:x?html?|js|xht|xml|css)$,i) {
-                if($source_pkg eq 'josm' and $file->basename eq 'defaultpresets.xml') {
+                if(     $source_pkg eq 'josm'
+                    and $file->basename eq 'defaultpresets.xml') {
                     # false positive
                 } else {
                     detect_privacy_breach($info,$file);

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


Reply to: