correctly handle _proxy_ssl backend's private config

This commit is contained in:
Romain Bignon 2014-05-18 18:35:12 +02:00
commit e4d4ed206f

View file

@ -322,7 +322,7 @@ class BaseBackend(object):
tmpproxy = os.environ['http_proxy']
elif 'HTTP_PROXY' in os.environ:
tmpproxy = os.environ['HTTP_PROXY']
if '_proxys' in self._private_config:
if '_proxy_ssl' in self._private_config:
tmpproxys = self._private_config['_proxy_ssl']
elif 'https_proxy' in os.environ:
tmpproxys = os.environ['https_proxy']