windows/fixups.py: fix paste-o in name of Unicode stderr wrapper.
This commit is contained in:
parent
54bbc5325f
commit
ec6a674a5c
|
@ -152,7 +152,7 @@ def initialize():
|
||||||
if real_stderr:
|
if real_stderr:
|
||||||
sys.stderr = UnicodeOutput(hStderr, None, STDERR_FILENO, '<Unicode console stderr>')
|
sys.stderr = UnicodeOutput(hStderr, None, STDERR_FILENO, '<Unicode console stderr>')
|
||||||
else:
|
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:
|
except Exception, e:
|
||||||
print >>original_stderr, "exception %r while fixing up sys.stdout and sys.stderr" % (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)
|
log.msg("exception %r while fixing up sys.stdout and sys.stderr" % (e,), log.WEIRD)
|
||||||
|
|
Loading…
Reference in New Issue