summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-31 16:45:43 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-31 16:45:43 +0000
commite2cfeee002f8de124a1bc0acbf2f7740d3413d29 (patch)
tree6349a1dc20c21b7e0b26984bc6c6ca89f02ff4e3 /urpm/main_loop.pm
parent1e44bc5b945c18e71117fd3653f1c30c54b52794 (diff)
downloadurpmi-e2cfeee002f8de124a1bc0acbf2f7740d3413d29.tar
urpmi-e2cfeee002f8de124a1bc0acbf2f7740d3413d29.tar.gz
urpmi-e2cfeee002f8de124a1bc0acbf2f7740d3413d29.tar.bz2
urpmi-e2cfeee002f8de124a1bc0acbf2f7740d3413d29.tar.xz
urpmi-e2cfeee002f8de124a1bc0acbf2f7740d3413d29.zip
(get_distant_media_filesize) kill unused parameter
Diffstat (limited to 'urpm/main_loop.pm')
-rw-r--r--urpm/main_loop.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index bd6e9e9b..65fa73c5 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -103,7 +103,7 @@ sub _download_all {
my (undef, $available) = urpm::sys::df("$urpm->{cachedir}/rpms");
if (!$urpm->{options}{ignoresize}) {
- my ($download_size) = urpm::get_pkgs::get_distant_media_filesize($urpm, $blists, $sources);
+ my ($download_size) = urpm::get_pkgs::get_distant_media_filesize($blists, $sources);
if ($download_size >= $available*1000) {
my $p = N("There is not enough space on your filesystem to download all packages (%s needed, %s available).\nAre you sure you want to continue?", formatXiB($download_size), formatXiB($available*1000));
$force || urpm::msg::ask_yes_or_no($p) or return 10;