mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-13 11:19:03 +00:00
removal of deprecated piece of code (replaced later with that getCurrentThreadData().disableStdOut)
This commit is contained in:
@@ -598,7 +598,7 @@ def filePathToString(filePath):
|
|||||||
|
|
||||||
def dataToStdout(data, forceOutput=False):
|
def dataToStdout(data, forceOutput=False):
|
||||||
if not ('threadException' in kb and kb.threadException):
|
if not ('threadException' in kb and kb.threadException):
|
||||||
if forceOutput or (conf.verbose > 0) and not getCurrentThreadData().disableStdOut:
|
if forceOutput or not getCurrentThreadData().disableStdOut:
|
||||||
try:
|
try:
|
||||||
sys.stdout.write(data.encode(sys.stdout.encoding))
|
sys.stdout.write(data.encode(sys.stdout.encoding))
|
||||||
except:
|
except:
|
||||||
|
|||||||
Reference in New Issue
Block a user