summaryrefslogtreecommitdiffstats
path: root/pym/portage/xpak.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/xpak.py')
-rw-r--r--pym/portage/xpak.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/xpak.py b/pym/portage/xpak.py
index b13e257dc..01cfe7b0a 100644
--- a/pym/portage/xpak.py
+++ b/pym/portage/xpak.py
@@ -67,6 +67,7 @@ def encodeint(myint):
a.append((myint >> 8 ) & 0xff)
a.append(myint & 0xff)
try:
+ # Python >=3.2
return a.tobytes()
except AttributeError:
return a.tostring()