mirror of
https://github.com/openSUSE/osc.git
synced 2026-01-29 01:03:23 +01:00
Merge pull request #1889 from vigneshmanick/proxy-env-vars
Check for both upper and lowercase values for http/s_proxy
This commit is contained in:
@@ -91,7 +91,7 @@ def enable_http_debug(config):
|
||||
|
||||
|
||||
def get_proxy_manager(env):
|
||||
proxy_url = os.environ.get(env, None)
|
||||
proxy_url = os.environ.get(env.upper(), None) or os.environ.get(env.lower(), None)
|
||||
|
||||
if not proxy_url:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user