fixing my mistake

This commit is contained in:
Miroslav Stampar 2010-02-26 10:01:23 +00:00
parent 5ebf572cae
commit 89e919f07a

View File

@ -593,7 +593,8 @@ def __setHTTPProxy():
global proxyHandler
if not conf.proxy and (conf.hostname in ('localhost', '127.0.0.1') or conf.ignoreProxy):
if not conf.proxy:
if conf.hostname in ('localhost', '127.0.0.1') or conf.ignoreProxy:
proxyHandler = urllib2.ProxyHandler({})
return