summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-12-10 01:03:58 +0000
committerZac Medico <zmedico@gentoo.org>2009-12-10 01:03:58 +0000
commit067ddb05396ba7e288e0acfa4e9631d55bfcc691 (patch)
tree5c419d0302ab2f18a3ce14c3b72af7fc09cb122b
parenta260d2d9f61968e08750455092dc429fbb1ebdcb (diff)
downloadportage-067ddb05396ba7e288e0acfa4e9631d55bfcc691.tar.gz
portage-067ddb05396ba7e288e0acfa4e9631d55bfcc691.tar.bz2
portage-067ddb05396ba7e288e0acfa4e9631d55bfcc691.zip
Don't assign f to sys.stderr inside EOutput._write(). (trunk r14970)
svn path=/main/branches/2.1.7/; revision=15004
-rw-r--r--pym/portage/output.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pym/portage/output.py b/pym/portage/output.py
index 6d4e108aa..a4ca3a306 100644
--- a/pym/portage/output.py
+++ b/pym/portage/output.py
@@ -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)