From 89e919f07a629107dc56082ada6c1a06d4558e92 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 26 Feb 2010 10:01:23 +0000 Subject: [PATCH] fixing my mistake --- lib/core/option.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/core/option.py b/lib/core/option.py index 8bf74e381..2f944c09a 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -593,8 +593,9 @@ def __setHTTPProxy(): global proxyHandler - if not conf.proxy and (conf.hostname in ('localhost', '127.0.0.1') or conf.ignoreProxy): - proxyHandler = urllib2.ProxyHandler({}) + if not conf.proxy: + if conf.hostname in ('localhost', '127.0.0.1') or conf.ignoreProxy: + proxyHandler = urllib2.ProxyHandler({}) return debugMsg = "setting the HTTP proxy to pass by all HTTP requests"