[rhinstaller/anaconda/pulls/46 master] Use proxy when configured for the base repo (#1196953)
vpodzime
installerbot-noreply at redhat.com
Mon Mar 23 08:06:18 UTC 2015
> @@ -227,6 +227,12 @@ def _add_repo(self, ksrepo):
> if mirrorlist:
> repo.mirrorlist = mirrorlist
> repo.sslverify = not (ksrepo.noverifyssl or flags.noverifyssl)
> + if ksrepo.proxy:
> + try:
> + repo.proxy = ProxyString(ksrepo.proxy).url
> + except ProxyStringError as e:
> + log.error("Failed to parse proxy for _add_repo %s: %s",
> + ksrepo.proxy, e)
The indentation of this block is ugly, maybe even wrong.
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/46#discussion_r26918638
More information about the anaconda-patches
mailing list