mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-15 02:32:31 +03:00
removal of deprecated piece of code (replaced later with that getCurrentThreadData().disableStdOut)
This commit is contained in:
parent
5eae525010
commit
6cc745f789
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user