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

[lintian] 10/11: harness: Fix a inverted conditional



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

nthykier pushed a commit to branch master
in repository lintian.

commit bad811a00d6759fd6f85bdb3c002efe3c65ea1c4
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Dec 21 15:44:56 2013 +0100

    harness: Fix a inverted conditional
---
 reporting/harness | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/reporting/harness b/reporting/harness
index 49536b8..fda232e 100755
--- a/reporting/harness
+++ b/reporting/harness
@@ -398,7 +398,7 @@ unless ($opt{'reports-only'}) {
     }
 }
 
-if (defined($state) and time() >= $START_TIME + BACKLOG_PROCESSING_TIME_LIMIT){
+if (defined($state) and time() <= $START_TIME + BACKLOG_PROCESSING_TIME_LIMIT){
     my $scs = $opt{'schedule-chunk-size'};
     my @worklist = find_backlog($state);
 
@@ -830,7 +830,7 @@ sub find_backlog {
             $last_version = $state->{$group_id}{'last-processed-by'};
         }
         push(@list, [$group_id, $last_version])
-          if not versions_equal($last_version, $LINTAIN_VERSION);
+          if not versions_equal($last_version, $LINTIAN_VERSION);
     }
     @sorted = map { $_->[0] }
       sort { versions_comparator($a->[1], $b->[1]) || $a->[0] cmp $b->[0] }

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


Reply to: