aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
authorAlexander Solovyov2009-12-13 20:25:07 +0200
committerMax Howell2009-12-22 05:49:31 +0000
commite6ada11bcd69421a898320b6468a69a9b2637101 (patch)
treecd3cc53a0d14212baf2b67a62cbdd823659dca69 /Library/Formula/python.rb
parent30275dcaa3382ecd283fca8dfd982ef743b10e96 (diff)
downloadhomebrew-e6ada11bcd69421a898320b6468a69a9b2637101.tar.bz2
python formula: fix readline completion in repl
Diffstat (limited to 'Library/Formula/python.rb')
-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
[