summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:27:23 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:27:23 +0000
commitd269f440d548aa87d9f8b74e305342d2625bacaa (patch)
tree81c1692ed473e00e8d329774f4ff39b97237709d
parent018a572d6446c4c676c9e850347a467af2adb225 (diff)
downloaddrakx-d269f440d548aa87d9f8b74e305342d2625bacaa.tar
drakx-d269f440d548aa87d9f8b74e305342d2625bacaa.tar.gz
drakx-d269f440d548aa87d9f8b74e305342d2625bacaa.tar.bz2
drakx-d269f440d548aa87d9f8b74e305342d2625bacaa.tar.xz
drakx-d269f440d548aa87d9f8b74e305342d2625bacaa.zip
drop useless install::http::close()
-rw-r--r--perl-install/install/http.pm4
-rw-r--r--perl-install/mirror.pm1
2 files changed, 0 insertions, 5 deletions
diff --git a/perl-install/install/http.pm b/perl-install/install/http.pm
index da6d6982c..9c0dacfd7 100644
--- a/perl-install/install/http.pm
+++ b/perl-install/install/http.pm
@@ -4,10 +4,6 @@ use urpm::download;
use common;
use Cwd;
-# to be killed once callers got fixed
-sub close() {
-}
-
sub getFile {
my ($url, %o_options) = @_;
my ($_size, $fh) = get_file_and_size($url, %o_options) or return;
diff --git a/perl-install/mirror.pm b/perl-install/mirror.pm
index 68684b99a..075f7eb30 100644
--- a/perl-install/mirror.pm
+++ b/perl-install/mirror.pm
@@ -70,7 +70,6 @@ sub mirrors_raw {
alarm 60;
log::l("using mirror list $list");
push @lines, $_ while <$f>;
- install::http::close();
alarm 0;
} else {
if (ref($downloader)) {