From: Zac Medico Date: Thu, 10 Dec 2009 01:03:58 +0000 (-0000) Subject: Don't assign f to sys.stderr inside EOutput._write(). (trunk r14970) X-Git-Tag: v2.1.7.12~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=067ddb05396ba7e288e0acfa4e9631d55bfcc691;p=portage.git Don't assign f to sys.stderr inside EOutput._write(). (trunk r14970) svn path=/main/branches/2.1.7/; revision=15004 --- 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)