projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12ac5ed
)
Binpkg: use io.open iso codecs.open
author
Fabian Groffen
<grobian@gentoo.org>
Tue, 26 Jul 2011 17:57:52 +0000
(19:57 +0200)
committer
Fabian Groffen
<grobian@gentoo.org>
Tue, 26 Jul 2011 17:57:52 +0000
(19:57 +0200)
pym/_emerge/Binpkg.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/Binpkg.py
b/pym/_emerge/Binpkg.py
index 6c944e2cd021dd36045cdeccd317347ccdbf9446..77ac72003612ff6c9f92a50b093a2e70e9782f24 100644
(file)
--- a/
pym/_emerge/Binpkg.py
+++ b/
pym/_emerge/Binpkg.py
@@
-276,7
+276,7
@@
class Binpkg(CompositeTask):
self._buildprefix = self._buildprefix.strip()
# We want to install in "our" prefix, not the binary one
self.settings["EPREFIX"] = EPREFIX
- f =
codecs
.open(_unicode_encode(os.path.join(infloc, 'EPREFIX'),
+ f =
io
.open(_unicode_encode(os.path.join(infloc, 'EPREFIX'),
encoding=_encodings['fs'], errors='strict'),
mode='w', encoding=_encodings['content'], errors='strict')
try: