summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/dbapi/bintree.py')
-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 38d5367b..1a559268 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: