Francois Gouget : testbot/web: Add a WineTestBot::Users import.

Alexandre Julliard julliard at winehq.org
Tue May 1 14:35:43 CDT 2018


Module: tools
Branch: master
Commit: 4183255c15a3b6f4d1cf20b8eb384c63332b0267
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=4183255c15a3b6f4d1cf20b8eb384c63332b0267

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Apr 30 23:46:29 2018 +0200

testbot/web: Add a WineTestBot::Users import.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/web/index.pl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/testbot/web/index.pl b/testbot/web/index.pl
index 72bd307..3e5a481 100644
--- a/testbot/web/index.pl
+++ b/testbot/web/index.pl
@@ -25,7 +25,10 @@ use ObjectModel::CGI::CollectionBlock;
 our @ISA = qw(ObjectModel::CGI::CollectionBlock);
 
 use URI::Escape;
+
 use WineTestBot::Branches;
+use WineTestBot::Users;
+
 
 
 sub SortKeys($$)
@@ -70,7 +73,7 @@ sub GetDisplayValue($$$)
 
   if ($PropertyDescriptor->GetName() eq "User" &&
       defined($Item->Patch) &&
-      $Item->User->GetKey() eq WineTestBot::Users->GetBatchUser()->GetKey() &&
+      $Item->User->GetKey() eq GetBatchUser()->GetKey() &&
       defined($Item->Patch->FromName))
   {
     return $Item->Patch->FromName;




More information about the wine-cvs mailing list