aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/python.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 0f96ab09c..38b334165 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -7,6 +7,11 @@ class Python <Formula
# You can build Python without readline, but you really don't want to.
depends_on 'readline' => :recommended
+
+ def patches
+ # don't append space after completion
+ {:p0 => ["http://bugs.python.org/file14599/python-2.6-readline.patch"]}
+ end
def options
[