From: david-sarah Date: Mon, 26 Jul 2010 21:47:36 +0000 (-0700) Subject: windows/fixups.py: fix paste-o in name of Unicode stderr wrapper. X-Git-Tag: allmydata-tahoe-1.8.0b2~55 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/frontends/FTP-and-SFTP.rst?a=commitdiff_plain;h=ec6a674a5c87fd557c1d4b7e1aba564418f3bbcf;p=tahoe-lafs%2Ftahoe-lafs.git windows/fixups.py: fix paste-o in name of Unicode stderr wrapper. --- diff --git a/src/allmydata/windows/fixups.py b/src/allmydata/windows/fixups.py index dcedd174..ea23500c 100644 --- a/src/allmydata/windows/fixups.py +++ b/src/allmydata/windows/fixups.py @@ -152,7 +152,7 @@ def initialize(): if real_stderr: sys.stderr = UnicodeOutput(hStderr, None, STDERR_FILENO, '') else: - sys.stderr = UnicodeOutput(None, sys.stderr, old_stderr_fileno, '') + sys.stderr = UnicodeOutput(None, sys.stderr, old_stderr_fileno, '') 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)