mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
Some more PEPing (I hope that I haven't broke anything)
This commit is contained in:
parent
8166a4eeb8
commit
fa4c1c5251
66 changed files with 1157 additions and 1288 deletions
|
|
@ -25,7 +25,7 @@ class _Getch(object):
|
|||
|
||||
class _GetchUnix(object):
|
||||
def __init__(self):
|
||||
import tty
|
||||
__import__("tty")
|
||||
|
||||
def __call__(self):
|
||||
import sys
|
||||
|
|
@ -44,7 +44,7 @@ class _GetchUnix(object):
|
|||
|
||||
class _GetchWindows(object):
|
||||
def __init__(self):
|
||||
import msvcrt
|
||||
__import__("msvcrt")
|
||||
|
||||
def __call__(self):
|
||||
import msvcrt
|
||||
|
|
@ -81,4 +81,3 @@ class _GetchMacCarbon(object):
|
|||
|
||||
|
||||
getch = _Getch()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue