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

[lintian] 02/02: c/r-sync-state: Apply perltidy



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

nthykier pushed a commit to branch master
in repository lintian.

commit a029c65f03147b999549ceb3c045c35a8b44c957
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Feb 10 22:39:45 2015 +0100

    c/r-sync-state: Apply perltidy
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 commands/reporting-sync-state | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/commands/reporting-sync-state b/commands/reporting-sync-state
index dab00f9..e79ce78 100755
--- a/commands/reporting-sync-state
+++ b/commands/reporting-sync-state
@@ -431,19 +431,18 @@ sub prune_lintian_lab {
     my $err;
     eval {
         $lab->open;
-        $lab->visit_packages(sub {
-            my ($lpkg) = @_;
-            my $id = $lpkg->identifier;
-            if (not exists($state->{'members-to-groups'}{$id})) {
-                log_debug("Removing ${id} from lab");
-                $lpkg->remove if (not $OPT{'dry-run'});
-            }
-        });
+        $lab->visit_packages(
+            sub {
+                my ($lpkg) = @_;
+                my $id = $lpkg->identifier;
+                if (not exists($state->{'members-to-groups'}{$id})) {
+                    log_debug("Removing ${id} from lab");
+                    $lpkg->remove if (not $OPT{'dry-run'});
+                }
+            });
     };
     $err = $@;
-    eval {
-        $lab->close;
-    };
+    eval {$lab->close;};
     if (my $close_err = $@) {
         # The first error is most important
         die($close_err) if not $err;

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


Reply to: