##// END OF EJS Templates
Changed tabs to spaces. Sorry about that :)
bgranger -
Show More

The requested changes are too big and content was truncated. Show full diff

1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
@@ -33,13 +33,13 b" if sys.platform == 'win32' and have_readline:"
33 # Thanks to Boyd Waters for this patch.
33 # Thanks to Boyd Waters for this patch.
34 uses_libedit = False
34 uses_libedit = False
35 if sys.platform == 'darwin' and have_readline:
35 if sys.platform == 'darwin' and have_readline:
36 import commands
36 import commands
37 (status, result) = commands.getstatusoutput( "otool -L %s | grep libedit" % _rl.__file__ )
37 (status, result) = commands.getstatusoutput( "otool -L %s | grep libedit" % _rl.__file__ )
38 if status == 0 and len(result) > 0:
38 if status == 0 and len(result) > 0:
39 # we are bound to libedit - new in Leopard
39 # we are bound to libedit - new in Leopard
40 _rl.parse_and_bind("bind ^I rl_complete")
40 _rl.parse_and_bind("bind ^I rl_complete")
41 print "Leopard libedit detected."
41 print "Leopard libedit detected."
42 uses_libedit = True
42 uses_libedit = True
43
43
44
44
45 # the clear_history() function was only introduced in Python 2.4 and is
45 # the clear_history() function was only introduced in Python 2.4 and is
General Comments 0
You need to be logged in to leave comments. Login now