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

[lintian] 01/01: Revert "perltidy has changed in sid, so run against all files."



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

lamby pushed a commit to branch master
in repository lintian.

commit 007971a682f12d62cb253085139c0d9d5281bce0
Author: Chris Lamb <lamby@debian.org>
Date:   Thu Oct 26 08:11:17 2017 +0100

    Revert "perltidy has changed in sid, so run against all files."
    
    I think we need to update our .perltidyrc really, otherwise we are going to
    make a lot of our files uglier IMHO. (eg. if (X) -> if ( X )) etc etc
    
    This reverts commit e4f44f5bbe17338e8420ee49d461f310fc08332d.
---
 checks/control-file.pm | 6 ++----
 checks/fields.pm       | 3 +--
 checks/init.d.pm       | 6 ++----
 3 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/checks/control-file.pm b/checks/control-file.pm
index c60762e..a8716b7 100644
--- a/checks/control-file.pm
+++ b/checks/control-file.pm
@@ -133,10 +133,8 @@ sub run {
     foreach my $bin (@package_names) {
         my $bfields = $info->binary_field($bin);
         tag 'build-info-in-binary-control-file-section', "Package $bin"
-          if (
-            first { $bfields->{"build-$_"} }
-            qw(depends depends-indep conflicts conflicts-indep)
-          );
+          if (first { $bfields->{"build-$_"} }
+            qw(depends depends-indep conflicts conflicts-indep));
         foreach my $field (keys %$bfields) {
             tag 'binary-control-field-duplicates-source',
               "field \"$field\" in package $bin"
diff --git a/checks/fields.pm b/checks/fields.pm
index b90e205..39fc18f 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -762,8 +762,7 @@ sub run {
                       if ($field eq 'conflicts' && $d_version->[0]);
 
                     tag 'obsolete-relation-form', "$field: $part_d_orig"
-                      if (
-                        $d_version && any { $d_version->[0] eq $_ }
+                      if ($d_version && any { $d_version->[0] eq $_ }
                         ('<', '>'));
 
                     tag 'bad-version-in-relation', "$field: $part_d_orig"
diff --git a/checks/init.d.pm b/checks/init.d.pm
index 4c90c2e..9b13c1d 100644
--- a/checks/init.d.pm
+++ b/checks/init.d.pm
@@ -436,10 +436,8 @@ sub check_init {
     if (defined $lsb{'default-stop'} && length($lsb{'default-stop'})) {
         my @required = split(' ', $lsb{'required-stop'} || '');
         if ($needs_fs) {
-            if (
-                none { /^(?:\$(?:local|remote)_fs|\$all|umountn?fs)\z/ }
-                @required
-              ) {
+            if (none { /^(?:\$(?:local|remote)_fs|\$all|umountn?fs)\z/ }
+                @required) {
                 tag 'init.d-script-missing-dependency-on-local_fs',
                   "${initd_path}: required-stop";
             }

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


Reply to: