Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
python: remove outdated patch
Browse files Browse the repository at this point in the history
Fixes #24366.
  • Loading branch information
mistydemeo committed Nov 15, 2013
1 parent a7d0f55 commit 3cb7fb0
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions Library/Formula/python.rb
Original file line number Diff line number Diff line change
Expand Up @@ -262,29 +262,6 @@ def caveats
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
Expand Down

0 comments on commit 3cb7fb0

Please sign in to comment.