Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/httprepo.py @ 3215:53e843840349
Whitespace/Tab cleanup
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 01 Oct 2006 19:26:33 +0200 |
parents | 36ab673f66a5 |
children | 5dbb3a991bbf |
comparison
equal
deleted
inserted
replaced
3214:a5603ad915c5 | 3215:53e843840349 |
---|---|
163 proxyurl = urlparse.urlunsplit(( | 163 proxyurl = urlparse.urlunsplit(( |
164 proxyscheme, netlocunsplit(proxyhost, proxyport, | 164 proxyscheme, netlocunsplit(proxyhost, proxyport, |
165 proxyuser, proxypasswd or ''), | 165 proxyuser, proxypasswd or ''), |
166 proxypath, proxyquery, proxyfrag)) | 166 proxypath, proxyquery, proxyfrag)) |
167 handler = urllib2.ProxyHandler({scheme: proxyurl}) | 167 handler = urllib2.ProxyHandler({scheme: proxyurl}) |
168 ui.debug(_('proxying through http://%s:%s\n') % | 168 ui.debug(_('proxying through http://%s:%s\n') % |
169 (proxyhost, proxyport)) | 169 (proxyhost, proxyport)) |
170 | 170 |
171 # urllib2 takes proxy values from the environment and those | 171 # urllib2 takes proxy values from the environment and those |
172 # will take precedence if found, so drop them | 172 # will take precedence if found, so drop them |
173 for env in ["HTTP_PROXY", "http_proxy", "no_proxy"]: | 173 for env in ["HTTP_PROXY", "http_proxy", "no_proxy"]: |