Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1
python-doc
python-2.7.1-urllib-noproxy.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-2.7.1-urllib-noproxy.patch of Package python-doc
Index: Python-2.7.1/Lib/urllib.py =================================================================== --- Python-2.7.1.orig/Lib/urllib.py +++ Python-2.7.1/Lib/urllib.py @@ -1350,6 +1350,7 @@ def proxy_bypass_environment(host): hostonly, port = splitport(host) # check if the host ends with any of the DNS suffixes for name in no_proxy.split(','): + name = name.strip() if name and (hostonly.endswith(name) or host.endswith(name)): return 1 # otherwise, don't bypass
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor