[PATCH] testbot: Fix a WineTestBot::PendingPatchSets import.
Francois Gouget
fgouget at codeweavers.com
Thu Apr 26 16:59:46 CDT 2018
The import is useless if it is in the wrong package.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/lib/WineTestBot/Patches.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testbot/lib/WineTestBot/Patches.pm b/testbot/lib/WineTestBot/Patches.pm
index 955e33617..5edeab06e 100644
--- a/testbot/lib/WineTestBot/Patches.pm
+++ b/testbot/lib/WineTestBot/Patches.pm
@@ -40,7 +40,6 @@ use Encode qw/decode/;
use File::Basename;
use WineTestBot::Config;
-use WineTestBot::PendingPatchSets;
use WineTestBot::Jobs;
use WineTestBot::Users;
use WineTestBot::Utils;
@@ -374,6 +373,7 @@ BEGIN
use ObjectModel::BasicPropertyDescriptor;
use WineTestBot::Config;
+use WineTestBot::PendingPatchSets;
sub CreateItem($)
@@ -510,7 +510,7 @@ sub NewPatch($$$)
link($PatchBodies[0]->path, "$DataDir/patches/" . $Patch->Id);
if (! defined($ErrMessage))
{
- $ErrMessage = WineTestBot::PendingPatchSets::CreatePendingPatchSets()->NewSubmission($Patch);
+ $ErrMessage = CreatePendingPatchSets()->NewSubmission($Patch);
}
}
else
--
2.17.0
More information about the wine-devel
mailing list