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

[lintian] 01/01: r/harness: Apply perltidy and fix perlcritic warning



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

nthykier pushed a commit to branch master
in repository lintian.

commit d5863a2a08ddd8418bbe3cacdd58f9d2b0e31231
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Feb 10 07:25:50 2015 +0100

    r/harness: Apply perltidy and fix perlcritic warning
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 commands/reporting-sync-state | 1 +
 reporting/harness             | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/commands/reporting-sync-state b/commands/reporting-sync-state
index 5debb73..efc69ff 100755
--- a/commands/reporting-sync-state
+++ b/commands/reporting-sync-state
@@ -113,6 +113,7 @@ sub main {
     cleanup_state($state);
     if (not $OPT{'dry-run'}) {
         save_state_cache($OPT{'state-dir'}, $state);
+        # FIXME: Prune dead entries from the lab
     }
     exit(0);
 }
diff --git a/reporting/harness b/reporting/harness
index 847b93f..41cfa60 100755
--- a/reporting/harness
+++ b/reporting/harness
@@ -237,7 +237,7 @@ if (not $opt{'reports-only'}) {
 
     if ($LINTIAN_SCRATCH_SPACE) {
         unshift(@lintian_harness_args,
-                '--lintian-scratch-space', $LINTIAN_SCRATCH_SPACE);
+            '--lintian-scratch-space', $LINTIAN_SCRATCH_SPACE);
     }
 
     if ($USE_PERMANENT_LAB) {
@@ -260,7 +260,7 @@ if (not $opt{'reports-only'}) {
 
     Log('Running running lintian (via reporting-lintian-harness)');
     Log(
-        "Command: "
+        'Command: '
           . join(' ',
             $dplint_cmd, 'reporting-lintian-harness',@lintian_harness_args));
     my %harness_lintian_opts = (

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


Reply to: