mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor code refactoring
This commit is contained in:
parent
f6bffb61d3
commit
a21a7fc56d
5 changed files with 42 additions and 33 deletions
|
|
@ -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__ )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue