The http_proxy environment variable is also used by curl and other utilities

This commit is contained in:
S.Çağlar Onur
2007-04-20 23:09:01 +00:00
parent ca7bbcb8f9
commit 6360c62be3
+3 -3
View File
@@ -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"""