Blame SOURCES/00185-urllib2-honors-noproxy-for-ftp.patch

b7580a
diff -up Python-2.7.5/Lib/urllib2.py.orig Python-2.7.5/Lib/urllib2.py
b7580a
--- Python-2.7.5/Lib/urllib2.py.orig	2013-07-17 12:22:58.595525622 +0200
b7580a
+++ Python-2.7.5/Lib/urllib2.py	2013-07-17 12:19:59.875898030 +0200
b7580a
@@ -728,6 +728,8 @@ class ProxyHandler(BaseHandler):
b7580a
         if proxy_type is None:
b7580a
             proxy_type = orig_type
b7580a
 
b7580a
+        req.get_host()
b7580a
+
b7580a
         if req.host and proxy_bypass(req.host):
b7580a
             return None
b7580a