Francois Gouget : testbot/Janitor: Fix reporting the version of deleted pending patchsets.
Alexandre Julliard
julliard at winehq.org
Wed Mar 11 17:37:12 CDT 2020
Module: tools
Branch: master
Commit: 55ada8150ab9b2d3212a09628d37be00faf5ed6d
URL: https://source.winehq.org/git/tools.git/?a=commit;h=55ada8150ab9b2d3212a09628d37be00faf5ed6d
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Wed Mar 11 09:56:23 2020 +0100
testbot/Janitor: Fix reporting the version of deleted pending patchsets.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 9481d51..8fa1782 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);
More information about the wine-cvs
mailing list