more general fix

This commit is contained in:
Miroslav Stampar
2012-02-24 10:53:28 +00:00
parent e8352e504f
commit 570d3a19c2
3 changed files with 7 additions and 7 deletions

View File

@@ -732,6 +732,7 @@ def dataToStdout(data, forceOutput=False):
sys.stdout.write(data.encode(UNICODE_ENCODING))
finally:
sys.stdout.flush()
setFormatterPrependFlag(len(data) == 1)
if kb.get("multiThreadMode"):
logging._releaseLock()