Francois Gouget : testbot/lib: Fix an operator precedence issue.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Feb 23 02:54:23 CST 2016
Module: tools
Branch: master
Commit: 7c5e39c25b88046f363136d3094a770a141c6e37
URL: http://source.winehq.org/git/tools.git/?a=commit;h=7c5e39c25b88046f363136d3094a770a141c6e37
Author: Francois Gouget <fgouget at free.fr>
Date: Mon Feb 22 02:26:14 2016 +0100
testbot/lib: Fix an operator precedence issue.
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/lib/WineTestBot/VMs.pm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/testbot/lib/WineTestBot/VMs.pm b/testbot/lib/WineTestBot/VMs.pm
index 7c3fd4d..2400efc 100644
--- a/testbot/lib/WineTestBot/VMs.pm
+++ b/testbot/lib/WineTestBot/VMs.pm
@@ -486,19 +486,19 @@ sub HasPoweredOnStatus($)
{
my ($self) = @_;
my $Status = $self->Status;
- return $Status eq "reverting" or
- $Status eq "sleeping" or
- $Status eq "idle" or
- $Status eq "running";
+ return ($Status eq "reverting" or
+ $Status eq "sleeping" or
+ $Status eq "idle" or
+ $Status eq "running");
}
sub HasEnabledRole($)
{
my ($self) = @_;
my $Role = $self->Role;
- return $Role eq "extra" or
- $Role eq "base" or
- $Role eq "winetest";
+ return ($Role eq "extra" or
+ $Role eq "base" or
+ $Role eq "winetest");
}
sub Validate($)
More information about the wine-cvs
mailing list