Blame SOURCES/BZ-1293670-proxy.patch

5e9bef
diff -up yum-3.2.29/yum/config.py.old yum-3.2.29/yum/config.py
5e9bef
--- yum-3.2.29/yum/config.py.old	2015-12-22 16:33:42.907483221 +0100
5e9bef
+++ yum-3.2.29/yum/config.py	2015-12-22 16:34:15.329584138 +0100
5e9bef
@@ -202,7 +202,7 @@ class UrlOption(Option):
5e9bef
         # Handle the "_none_" special case
5e9bef
         if url.lower() == '_none_':
5e9bef
             if self.allow_none:
5e9bef
-                return None
5e9bef
+                return '_none_'
5e9bef
             else:
5e9bef
                 raise ValueError('"_none_" is not a valid value')
5e9bef
 
5e9bef
diff -up yum-3.2.29/yum/yumRepo.py.old yum-3.2.29/yum/yumRepo.py
5e9bef
--- yum-3.2.29/yum/yumRepo.py.old	2015-12-22 16:35:08.330749108 +0100
5e9bef
+++ yum-3.2.29/yum/yumRepo.py	2015-12-22 16:36:37.668027178 +0100
5e9bef
@@ -432,7 +432,7 @@ class YumRepository(Repository, config.R
5e9bef
         self._proxy_dict = {} # zap it
5e9bef
         proxy_string = None
5e9bef
         empty = (None, '_none_', '')
5e9bef
-        if self.proxy is None:  # got 'proxy=_none_'
5e9bef
+        if self.proxy in empty:  # got 'proxy=_none_'
5e9bef
             proxy_string = ''   # this disables default proxies
5e9bef
         elif self.proxy:
5e9bef
             proxy_string = '%s' % self.proxy