removal of deprecated piece of code (replaced later with that getCurrentThreadData().disableStdOut)

This commit is contained in:
Miroslav Stampar 2011-03-11 20:04:15 +00:00
parent 5eae525010
commit 6cc745f789

View File

@ -598,7 +598,7 @@ def filePathToString(filePath):
def dataToStdout(data, forceOutput=False):
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:
sys.stdout.write(data.encode(sys.stdout.encoding))
except: