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

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