Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
depends: python: fix urllib on darwin
- Loading branch information
theuni
authored and
Cory Fields
committed
Mar 14, 2013
1 parent
4150e93
commit df33686
Showing
3 changed files
with
18 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- Lib/urllib.py 2010-02-20 17:13:01.000000000 -0500 | ||
+++ Lib/urllib.py 2013-03-14 01:11:49.000000000 -0400 | ||
@@ -1401,10 +1401,10 @@ | ||
if getproxies_environment(): | ||
return proxy_bypass_environment(host) | ||
else: | ||
- return proxy_bypass_macosx_sysconf(host) | ||
+ return false | ||
|
||
def getproxies(): | ||
- return getproxies_environment() or getproxies_macosx_sysconf() | ||
+ return getproxies_environment() | ||
|
||
elif os.name == 'nt': | ||
def getproxies_registry(): |