From fc1c35c25c44d249554f436eb3ce8bbb0ddecdf8 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sun, 22 Jul 2018 14:35:32 -0700 Subject: [PATCH] Skip even if they did not pass. --- scripts/rt-outreachy-payment-next.plx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/rt-outreachy-payment-next.plx b/scripts/rt-outreachy-payment-next.plx index 481ed02..926b7d6 100755 --- a/scripts/rt-outreachy-payment-next.plx +++ b/scripts/rt-outreachy-payment-next.plx @@ -149,11 +149,11 @@ while (my $file = readdir $dh) { my $prevPay = $PAYMENT_NUMBER - 1; my $lastPayDate = PaymentDateByTicket($ticket, $prevPay); - if ($pass and (not defined $lastPayDate)) { + if (not defined $lastPayDate) { print STDERR "\"$file\": \"$ticket\": Skipped: payment $prevPay was not made yet.\n"; next; } - + } ############################################################################### #