Minor code refactoring

This commit is contained in:
Bernardo Damele
2010-05-21 12:09:31 +00:00
parent f6bffb61d3
commit a21a7fc56d
5 changed files with 42 additions and 33 deletions

View File

@@ -61,7 +61,7 @@ if IS_WIN and haveReadline:
# Thanks to Boyd Waters for this patch.
uses_libedit = False
if PLATFORM == 'darwin' and haveReadline:
if PLATFORM == 'mac' and haveReadline:
import commands
(status, result) = commands.getstatusoutput( "otool -L %s | grep libedit" % _rl.__file__ )