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

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