The http_proxy environment variable is also used by curl and other utilities
This commit is contained in:
+3
-3
@@ -62,9 +62,9 @@ class GeneralDefaults:
|
||||
autoclean = False
|
||||
distribution = "Pardus"
|
||||
distribution_release = "2007"
|
||||
http_proxy = os.getenv("HTTP_PROXY") or None
|
||||
https_proxy = os.getenv("HTTPS_PROXY") or None
|
||||
ftp_proxy = os.getenv("FTP_PROXY") or None
|
||||
http_proxy = (os.getenv("http_proxy") or os.getenv("HTTP_PROXY")) or None
|
||||
https_proxy = (os.getenv("https_proxy") or os.getenv("HTTPS_PROXY")) or None
|
||||
ftp_proxy = (os.getenv("ftp_proxy") or os.getenv("FTP_PROXY")) or None
|
||||
|
||||
class BuildDefaults:
|
||||
"""Default values for [build] section"""
|
||||
|
||||
Reference in New Issue
Block a user