From: Zac Medico Date: Tue, 8 Dec 2009 23:10:07 +0000 (-0000) Subject: Don't assign f to sys.stderr inside EOutput._write(). X-Git-Tag: v2.2_rc57~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=86af54e282c4a1a7161448a1d4ae5f885225f596;p=portage.git Don't assign f to sys.stderr inside EOutput._write(). svn path=/main/trunk/; revision=14970 --- 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)