diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-08-31 16:45:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-08-31 16:45:23 +0000 |
commit | ccb2bd42f9decd08f4e682bedd74c026a3833289 (patch) | |
tree | 85baa53c3f91f5357ae413dea832312aedc5463c | |
parent | b465fbfe32709790039c93b80d85e12807ab11e5 (diff) | |
download | urpmi-ccb2bd42f9decd08f4e682bedd74c026a3833289.tar urpmi-ccb2bd42f9decd08f4e682bedd74c026a3833289.tar.gz urpmi-ccb2bd42f9decd08f4e682bedd74c026a3833289.tar.bz2 urpmi-ccb2bd42f9decd08f4e682bedd74c026a3833289.tar.xz urpmi-ccb2bd42f9decd08f4e682bedd74c026a3833289.zip |
(get_proxy_) kill unused parameter
-rw-r--r-- | urpm/download.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/download.pm b/urpm/download.pm index de8abf45..f56928c6 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -173,7 +173,7 @@ sub remove_proxy_media { } sub get_proxy_ { - my ($urpm, $_medium) = @_; + my ($urpm) = @_; -e $PROXY_CFG && !-r $PROXY_CFG and $urpm->{error}(N("can not read proxy settings (not enough rights to read %s)", $PROXY_CFG)); @@ -900,7 +900,7 @@ sub _all_options { my %all_options = ( dir => "$urpm->{cachedir}/partial", - proxy => get_proxy_($urpm, $medium), + proxy => get_proxy_($urpm), metalink => $medium->{mirrorlist}, $medium->{"disable-certificate-check"} ? "no-certificate-check" : @{[]}, $urpm->{debug} ? (debug => $urpm->{debug}) : @{[]}, |