windows/fixups.py: fix paste-o in name of Unicode stderr wrapper.

This commit is contained in:
david-sarah 2010-07-26 14:47:36 -07:00
parent 54bbc5325f
commit ec6a674a5c
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ def initialize():
if real_stderr:
sys.stderr = UnicodeOutput(hStderr, None, STDERR_FILENO, '<Unicode console stderr>')
else:
sys.stderr = UnicodeOutput(None, sys.stderr, old_stderr_fileno, '<Unicode redirected stdout>')
sys.stderr = UnicodeOutput(None, sys.stderr, old_stderr_fileno, '<Unicode redirected stderr>')
except Exception, e:
print >>original_stderr, "exception %r while fixing up sys.stdout and sys.stderr" % (e,)
log.msg("exception %r while fixing up sys.stdout and sys.stderr" % (e,), log.WEIRD)