From 86af54e282c4a1a7161448a1d4ae5f885225f596 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 8 Dec 2009 23:10:07 +0000 Subject: Don't assign f to sys.stderr inside EOutput._write(). svn path=/main/trunk/; revision=14970 --- 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