diff options
Diffstat (limited to 'lib/portage/output.py')
-rw-r--r-- | lib/portage/output.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/portage/output.py b/lib/portage/output.py index 26880adca..dbfb81714 100644 --- a/lib/portage/output.py +++ b/lib/portage/output.py @@ -396,8 +396,7 @@ class ConsoleStyleFile(object): if f in (sys.stdout, sys.stderr): s = _unicode_encode(s, encoding=_encodings['stdio'], errors='backslashreplace') - if sys.hexversion >= 0x3000000: - f = f.buffer + f = f.buffer f.write(s) def writelines(self, lines): |