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

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