Print the noproxy variable in system info string

This commit is contained in:
Bastian Kleineidam 2009-07-22 23:41:46 +02:00
parent 3f80123fd6
commit d666e63d19

View file

@ -87,7 +87,7 @@ def print_app_info (out=stderr):
print >> out, configuration.App
print >> out, _("Python %(version)s on %(platform)s") % \
{"version": sys.version, "platform": sys.platform}
for key in ("LC_ALL", "LC_MESSAGES", "http_proxy", "ftp_proxy"):
for key in ("LC_ALL", "LC_MESSAGES", "http_proxy", "ftp_proxy", "no_proxy"):
value = os.getenv(key)
if value is not None:
print >> out, key, "=", repr(value)