summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/bintree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py
index 38d5367b1..1a5592688 100644
--- a/pym/portage/dbapi/bintree.py
+++ b/pym/portage/dbapi/bintree.py
@@ -1103,7 +1103,7 @@ class binarytree(object):
pkgindex = self._new_pkgindex()
try:
f = codecs.open(self._pkgindex_file,
- encoding='utf8', errors='replace')
+ encoding='utf_8', errors='replace')
except EnvironmentError:
pass
else: