mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Couple of updates regarding readline capabilities
This commit is contained in:
parent
f9ee0f4c0a
commit
4b00924826
6 changed files with 55 additions and 43 deletions
|
|
@ -56,9 +56,7 @@ if PLATFORM == 'mac' and _readline:
|
|||
# http://mail.python.org/pipermail/python-dev/2003-August/037845.html
|
||||
# has the original discussion.
|
||||
if _readline:
|
||||
try:
|
||||
_readline.clear_history()
|
||||
except AttributeError:
|
||||
if not hasattr(_readline, "clear_history"):
|
||||
def clear_history():
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue