[tools 2/3] testbot/web: Remove unneeded CGI imports.
Francois Gouget
fgouget at codeweavers.com
Wed Mar 30 12:06:53 CDT 2022
Not only are they unneeded, but when combined with qw(:standard) they
prevent calling $self->escapeHTML() (where $self is an
ObjectModel::CGI::Page object).
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/web/Logout.pl | 1 -
testbot/web/Submit.pl | 1 -
2 files changed, 2 deletions(-)
diff --git a/testbot/web/Logout.pl b/testbot/web/Logout.pl
index 17e81d2b8..b0fd5cdc1 100644
--- a/testbot/web/Logout.pl
+++ b/testbot/web/Logout.pl
@@ -24,7 +24,6 @@ package LogoutPage;
use ObjectModel::CGI::Page;
our @ISA = qw(ObjectModel::CGI::Page);
-use CGI qw(:standard);
use WineTestBot::CGI::Sessions;
diff --git a/testbot/web/Submit.pl b/testbot/web/Submit.pl
index e2173d898..ef7816b46 100644
--- a/testbot/web/Submit.pl
+++ b/testbot/web/Submit.pl
@@ -25,7 +25,6 @@ package SubmitPage;
use ObjectModel::CGI::FreeFormPage;
our @ISA = qw(ObjectModel::CGI::FreeFormPage);
-use CGI qw(:standard);
use Fcntl qw(O_RDONLY);
use IO::Handle;
use POSIX qw(:fcntl_h); # For SEEK_XXX
--
2.30.2
More information about the wine-devel
mailing list