From 6d570aa53d91a67c9df11c43293c310bbe4c484a Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Fri, 21 Mar 2008 13:21:45 +0000 Subject: [PATCH] BUG:FIXED:6795 --- pisi/fetcher.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pisi/fetcher.py b/pisi/fetcher.py index 5200e7d4..f39971ed 100644 --- a/pisi/fetcher.py +++ b/pisi/fetcher.py @@ -172,13 +172,13 @@ class Fetcher: proxies = {} if ctx.config.values.general.http_proxy and self.url.scheme() == "http": - proxies[pisi.uri.URI(http_proxy).scheme()] = ctx.config.values.general.http_proxy + proxies[pisi.uri.URI(ctx.config.values.general.http_proxy).scheme()] = ctx.config.values.general.http_proxy if ctx.config.values.general.https_proxy and self.url.scheme() == "https": - proxies[pisi.uri.URI(https_proxy).scheme()] = ctx.config.values.general.https_proxy + proxies[pisi.uri.URI(ctx.config.values.general.https_proxy).scheme()] = ctx.config.values.general.https_proxy if ctx.config.values.general.ftp_proxy and self.url.scheme() == "ftp": - proxies[pisi.uri.URI(ftp_proxy).scheme()] = ctx.config.values.general.ftp_proxy + proxies[pisi.uri.URI(ctx.config.values.general.ftp_proxy).scheme()] = ctx.config.values.general.ftp_proxy if self.url.scheme() in proxies: ctx.ui.info(_("Proxy configuration has been found for '%s' protocol") % self.url.scheme())