added a comment

This commit is contained in:
Miroslav Stampar 2011-04-21 10:01:58 +00:00
parent c84c4d835f
commit cbfe743bad

View File

@ -610,6 +610,7 @@ def dataToStdout(data, forceOutput=False):
if not ('threadException' in kb and kb.threadException):
if forceOutput or not getCurrentThreadData().disableStdOut:
try:
# Reference: http://bugs.python.org/issue1602
if IS_WIN:
output = data.encode('ascii', errors="replace")
if output != data: