Don't assign f to sys.stderr inside EOutput._write(). (trunk r14970)
authorZac Medico <zmedico@gentoo.org>
Thu, 10 Dec 2009 01:03:58 +0000 (01:03 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 10 Dec 2009 01:03:58 +0000 (01:03 -0000)
svn path=/main/branches/2.1.7/; revision=15004

pym/portage/output.py

index 6d4e108aa3674346c78b9bf56043c63341aa54bf..a4ca3a306b495bdcc3050e48fccacb0937a89ae1 100644 (file)
@@ -492,7 +492,6 @@ class EOutput(object):
                # avoid potential UnicodeEncodeError
                s = _unicode_encode(s,
                        encoding=_encodings['stdio'], errors='backslashreplace')
-               f = sys.stderr
                if sys.hexversion >= 0x3000000:
                        f = f.buffer
                f.write(s)