Francois Gouget : testbot/web: Tweak VMDetails.pl to save the Item directly.
Alexandre Julliard
julliard at winehq.org
Tue Mar 27 16:08:19 CDT 2018
Module: tools
Branch: master
Commit: 71a9602bb6eab2b54e930080b8ef728064d6a664
URL: https://source.winehq.org/git/tools.git/?a=commit;h=71a9602bb6eab2b54e930080b8ef728064d6a664
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Tue Mar 27 03:45:29 2018 +0200
testbot/web: Tweak VMDetails.pl to save the Item directly.
This avoids depending on whether Items retrieved with GetItem() are
stored in the Collection or not.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/web/admin/VMDetails.pl | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/testbot/web/admin/VMDetails.pl b/testbot/web/admin/VMDetails.pl
index 7b562a7..11cec4c 100644
--- a/testbot/web/admin/VMDetails.pl
+++ b/testbot/web/admin/VMDetails.pl
@@ -58,8 +58,7 @@ sub Save($)
}
}
- my $ErrKey;
- ($ErrKey, $self->{ErrField}, $self->{ErrMessage}) = $self->{Collection}->Save();
+ ($self->{ErrField}, $self->{ErrMessage}) = $self->{Item}->Save();
return ! defined($self->{ErrMessage});
}
More information about the wine-cvs
mailing list