[tools] testbot/Janitor: Fix reporting the version of deleted pending patchsets.
11 Mar
2020
11 Mar
'20
8:56 a.m.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> --- testbot/bin/Janitor.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testbot/bin/Janitor.pl b/testbot/bin/Janitor.pl index 9481d51adc..8fa1782940 100755 --- a/testbot/bin/Janitor.pl +++ b/testbot/bin/Janitor.pl @@ -162,7 +162,7 @@ foreach my $Set (@{$Sets->GetItems()}) if (! defined($MostRecentPatch) || $MostRecentPatch->Received < $DeleteBefore) { - my $Version = $Version eq "" ? "" : " v$Version"; + my $Version = $Set->Version ? " v". $Set->Version : ""; Trace "Deleting pending series$Version for ", $Set->EMail, " (got ", join(" ", sort @Parts), " / ", $Set->TotalParts, ")\n"; next if ($DryRun); -- 2.20.1
2107
Age (days ago)
2107
Last active (days ago)
0 comments
1 participants
participants (1)
-
Francois Gouget