Francois Gouget : testbot/lib: Add parentheses to a LogMsg() call to make perl 5.10 happy.

Alexandre Julliard julliard at winehq.org
Mon Dec 17 10:17:12 CST 2012


Module: tools
Branch: master
Commit: da8a256602397b815c0ecdbc03fb894d339a5fc2
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=da8a256602397b815c0ecdbc03fb894d339a5fc2

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Dec 17 15:45:15 2012 +0100

testbot/lib: Add parentheses to a LogMsg() call to make perl 5.10 happy.

---

 testbot/lib/WineTestBot/Tasks.pm |    2 +-
 testbot/lib/WineTestBot/VMs.pm   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testbot/lib/WineTestBot/Tasks.pm b/testbot/lib/WineTestBot/Tasks.pm
index 79622de..fa53b07 100644
--- a/testbot/lib/WineTestBot/Tasks.pm
+++ b/testbot/lib/WineTestBot/Tasks.pm
@@ -125,7 +125,7 @@ sub Run
     delete $ENV{ENV};
     exec("$BinDir/${ProjectName}$RunScript", $JobId, $StepNo, $self->No) or
     require WineTestBot::Log;
-    WineTestBot::Log::LogMsg "Unable to exec ${ProjectName}$RunScript: $!\n";
+    WineTestBot::Log::LogMsg("Unable to exec ${ProjectName}$RunScript: $!\n");
     exit(1);
   }
 
diff --git a/testbot/lib/WineTestBot/VMs.pm b/testbot/lib/WineTestBot/VMs.pm
index 2d1c1fd..f41453e 100644
--- a/testbot/lib/WineTestBot/VMs.pm
+++ b/testbot/lib/WineTestBot/VMs.pm
@@ -539,7 +539,7 @@ sub RunRevert
     WineTestBot::Log::SetupRedirects();
     exec("$BinDir/RevertVM.pl", $self->GetKey()) or
     require WineTestBot::Log;
-    WineTestBot::Log::LogMsg "Unable to exec RevertVM.pl: $!\n";
+    WineTestBot::Log::LogMsg("Unable to exec RevertVM.pl: $!\n");
     exit(1);
   }
 




More information about the wine-cvs mailing list