This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=0e7dcece7edcf0b83b710c725b1b993ed9731bac

commit 0e7dcece7edcf0b83b710c725b1b993ed9731bac
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Tue Nov 1 22:12:08 2022 +0100

    dselect: Remove unused Net::FTP import from ftp method scripts
    
    The Net::FTP object is instantiated from the Dselect::Ftp::do_connect()
    function, so it does not need to be imported from the scripts.
    
    Changelog: internal
---
 dselect/methods/ftp/install.pl | 1 -
 dselect/methods/ftp/setup.pl   | 1 -
 dselect/methods/ftp/update.pl  | 1 -
 3 files changed, 3 deletions(-)

diff --git a/dselect/methods/ftp/install.pl b/dselect/methods/ftp/install.pl
index af5883610..4386eb627 100755
--- a/dselect/methods/ftp/install.pl
+++ b/dselect/methods/ftp/install.pl
@@ -24,7 +24,6 @@ use File::Basename;
 
 eval q{
     pop @INC if $INC[-1] eq '.';
-    use Net::FTP;
     use File::Find;
     use Data::Dumper;
 
diff --git a/dselect/methods/ftp/setup.pl b/dselect/methods/ftp/setup.pl
index 8ab28fe9c..ccd0672d2 100755
--- a/dselect/methods/ftp/setup.pl
+++ b/dselect/methods/ftp/setup.pl
@@ -21,7 +21,6 @@ use warnings;
 
 eval q{
     pop @INC if $INC[-1] eq '.';
-    use Net::FTP;
 
     use Dpkg; # Dummy import to require the presence of Dpkg::*.
 };
diff --git a/dselect/methods/ftp/update.pl b/dselect/methods/ftp/update.pl
index 5cfd5cfdf..5932ec3dd 100755
--- a/dselect/methods/ftp/update.pl
+++ b/dselect/methods/ftp/update.pl
@@ -21,7 +21,6 @@ use warnings;
 
 eval q{
     pop @INC if $INC[-1] eq '.';
-    use Net::FTP;
 
     use Dpkg; # Dummy import to require the presence of Dpkg::*.
 };

-- 
Dpkg.Org's dpkg

Reply via email to