From 067ddb05396ba7e288e0acfa4e9631d55bfcc691 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 10 Dec 2009 01:03:58 +0000 Subject: Don't assign f to sys.stderr inside EOutput._write(). (trunk r14970) svn path=/main/branches/2.1.7/; revision=15004 --- pym/portage/output.py | 1 - 1 file changed, 1 deletion(-) 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) -- cgit v1.2.3-1-g7c22