Module: tools Branch: master Commit: 432247ab155bcffc3946153cc4fdb1e660a6d385 URL: http://source.winehq.org/git/tools.git/?a=commit;h=432247ab155bcffc3946153cc...
Author: Francois Gouget fgouget@codeweavers.com Date: Thu Oct 5 11:14:41 2017 +0200
testbot: Import URI before using it.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/lib/WineTestBot/VMs.pm | 1 + 1 file changed, 1 insertion(+)
diff --git a/testbot/lib/WineTestBot/VMs.pm b/testbot/lib/WineTestBot/VMs.pm index 7e861e3..5e4f951 100644 --- a/testbot/lib/WineTestBot/VMs.pm +++ b/testbot/lib/WineTestBot/VMs.pm @@ -200,6 +200,7 @@ sub GetAgent($) my $TunnelInfo; if ($URI =~ s/^(?:[a-z]++)?(?:ssh|libssh2):/ssh:/) { + require URI; my $ParsedURI = URI->new($URI); %$TunnelInfo = %$TunnelDefaults if ($TunnelDefaults); $TunnelInfo->{sshhost} = $ParsedURI->host;