From: Hector Rivas Date: Thu, 25 Aug 2011 20:24:37 +0000 (+0200) Subject: Binpkg: fix ValueError when installing binpkgs X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b568cf74f91864da2d3bacabbe940bc9b5d59ff2;p=portage.git Binpkg: fix ValueError when installing binpkgs Our Prefix code wasn't entirely unicode-ed, bug #379469. --- diff --git a/pym/_emerge/Binpkg.py b/pym/_emerge/Binpkg.py index 77ac72003..4b66033b0 100644 --- 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()