summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/SpawnProcess.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/_emerge/SpawnProcess.py')
-rw-r--r--pym/_emerge/SpawnProcess.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/SpawnProcess.py b/pym/_emerge/SpawnProcess.py
index aa4160572..099407eda 100644
--- a/pym/_emerge/SpawnProcess.py
+++ b/pym/_emerge/SpawnProcess.py
@@ -207,6 +207,7 @@ class SpawnProcess(SubProcess):
except TypeError:
# array.tofile() doesn't work with GzipFile
try:
+ # Python >=3.2
data = buf.tobytes()
except AttributeError:
data = buf.tostring()