mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Some more PEPing (I hope that I haven't broke anything)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user