diff options
| author | Misty De Meo | 2013-11-15 15:29:15 -0800 |
|---|---|---|
| committer | Misty De Meo | 2013-11-15 15:37:58 -0800 |
| commit | 3cb7fb0129b40cbe335bea1cb888b8bdca0e0356 (patch) | |
| tree | 8cc84539ea2cf32084a6c3592ee01e100bdcf314 /Library/Formula/python.rb | |
| parent | a7d0f5555e2214823f51f5118c4ab3beecd91e04 (diff) | |
| download | homebrew-3cb7fb0129b40cbe335bea1cb888b8bdca0e0356.tar.bz2 | |
python: remove outdated patch
Fixes #24366.
Diffstat (limited to 'Library/Formula/python.rb')
| -rw-r--r-- | Library/Formula/python.rb | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index 786781444..36ed09bcf 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -262,29 +262,6 @@ class Python < Formula end __END__ -# http://bugs.python.org/issue18071 (Remove this hung for 2.7.6!) -diff --git a/Lib/_osx_support.py b/Lib/_osx_support.py ---- a/Lib/_osx_support.py -+++ b/Lib/_osx_support.py -@@ -53,7 +53,7 @@ def _find_executable(executable, path=No - - - def _read_output(commandstring): -- """Output from succesful command execution or None""" -+ """Output from successful command execution or None""" - # Similar to os.popen(commandstring, "r").read(), - # but without actually using os.popen because that - # function is not usable during python bootstrap. -@@ -68,7 +68,7 @@ def _read_output(commandstring): - - with contextlib.closing(fp) as fp: - cmd = "%s 2>/dev/null >'%s'" % (commandstring, fp.name) -- return fp.read().decode('utf-8').strip() if not os.system(cmd) else None -+ return fp.read().strip() if not os.system(cmd) else None - - -# X11 header find fix (and let homebrew handle this.) - diff --git a/setup.py b/setup.py index 716f08e..66114ef 100644 --- a/setup.py |
