summaryrefslogtreecommitdiffstats
path: root/pym/portage/util/_pty.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/util/_pty.py')
-rw-r--r--pym/portage/util/_pty.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/util/_pty.py b/pym/portage/util/_pty.py
index f308ccbce..af0fc9d8a 100644
--- a/pym/portage/util/_pty.py
+++ b/pym/portage/util/_pty.py
@@ -113,6 +113,7 @@ def _test_pty_eof(fdopen_buffered=False):
eof = True
else:
try:
+ # Python >=3.2
data.append(buf.tobytes())
except AttributeError:
data.append(buf.tostring())