Francois Gouget : testbot: Restrict the use of WineTestBot:: Log in the Jobs module.
Alexandre Julliard
julliard at winehq.org
Thu Oct 3 12:54:19 CDT 2013
Module: tools
Branch: master
Commit: 67333a424676b24d86b12e8a669b79a52f62a580
URL: http://source.winehq.org/git/tools.git/?a=commit;h=67333a424676b24d86b12e8a669b79a52f62a580
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Thu Oct 3 12:18:19 2013 +0200
testbot: Restrict the use of WineTestBot::Log in the Jobs module.
---
testbot/lib/WineTestBot/Jobs.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/testbot/lib/WineTestBot/Jobs.pm b/testbot/lib/WineTestBot/Jobs.pm
index 48e74f9..86bb0c3 100644
--- a/testbot/lib/WineTestBot/Jobs.pm
+++ b/testbot/lib/WineTestBot/Jobs.pm
@@ -54,7 +54,6 @@ use WineTestBot::Config;
use WineTestBot::Branches;
use WineTestBot::Engine::Notify;
use WineTestBot::WineTestBotObjects;
-use WineTestBot::Log;
use vars qw(@ISA @EXPORT);
@@ -206,7 +205,8 @@ sub Cancel
}
elsif (defined $Task->ChildPid)
{
- LogMsg "Canceling the ". join("/", $self->Id, $Step->No, $Task->No) . " task\n";
+ require WineTestBot::Log;
+ WineTestBot::Log::LogMsg("Canceling the " . join("/", $self->Id, $Step->No, $Task->No) . " task\n");
kill("TERM", $Task->ChildPid);
$Task->Status("canceled");
$Task->ChildPid(undef);
More information about the wine-cvs
mailing list