summaryrefslogtreecommitdiff
path: root/Lib/urllib.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-09-21 21:27:51 +0000
committerBenjamin Peterson <benjamin@python.org>2008-09-21 21:27:51 +0000
commit2c7470d9513461aaf1af4e655c580d1ece602d2f (patch)
treea3428415965a59a0a146c9ad9be9de60675c3021 /Lib/urllib.py
parent1672e10dc2d7b70ee1830fbe0294e81f25560387 (diff)
downloadcpython-git-2c7470d9513461aaf1af4e655c580d1ece602d2f.tar.gz
#3879 fix a regression in urllib.getproxies_environment
reviewers: Benjamin, Georg
Diffstat (limited to 'Lib/urllib.py')
-rw-r--r--Lib/urllib.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py
index 55a29f4fc8..38c5ee49f1 100644
--- a/Lib/urllib.py
+++ b/Lib/urllib.py
@@ -1299,9 +1299,6 @@ def getproxies_environment():
proxies = {}
for name, value in os.environ.items():
name = name.lower()
- if name == 'no_proxy':
- # handled in proxy_bypass_environment
- continue
if value and name[-6:] == '_proxy':
proxies[name[:-6]] = value
return proxies