[tools] testbot/Janitor: Fix reporting the version of deleted pending patchsets.
Francois Gouget
fgouget at codeweavers.com
Wed Mar 11 03:56:23 CDT 2020
Signed-off-by: Francois Gouget <fgouget at 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
More information about the wine-devel
mailing list