From b568cf74f91864da2d3bacabbe940bc9b5d59ff2 Mon Sep 17 00:00:00 2001 From: Hector Rivas Date: Thu, 25 Aug 2011 22:24:37 +0200 Subject: [PATCH] Binpkg: fix ValueError when installing binpkgs Our Prefix code wasn't entirely unicode-ed, bug #379469. --- pym/_emerge/Binpkg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.26.2