projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
253d014
)
Binpkg: fix ValueError when installing binpkgs
author
Hector Rivas
<keymon@gmail.com>
Thu, 25 Aug 2011 20:24:37 +0000
(22:24 +0200)
committer
Fabian Groffen
<grobian@gentoo.org>
Thu, 25 Aug 2011 20:24:37 +0000
(22:24 +0200)
Our Prefix code wasn't entirely unicode-ed, bug #379469.
pym/_emerge/Binpkg.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/Binpkg.py
b/pym/_emerge/Binpkg.py
index 77ac72003612ff6c9f92a50b093a2e70e9782f24..4b66033b0b66b06eec3d9413a7d98f6f30d65dc3 100644
(file)
--- a/
pym/_emerge/Binpkg.py
+++ b/
pym/_emerge/Binpkg.py
@@
-280,7
+280,7
@@
class Binpkg(CompositeTask):
encoding=_encodings['fs'], errors='strict'),
mode='w', encoding=_encodings['content'], errors='strict')
try:
- f.write(
EPREFIX + "\n"
)
+ f.write(
_unicode_decode(EPREFIX + "\n")
)
finally:
f.close()