From 749ef8e20137bede1a9824448b2676224b06f71b Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Mon, 29 Aug 2011 21:00:10 +0200 Subject: [PATCH] chk_updated_info_files: run _unicode_decode on EPREFIX Attempt to avoid TypeError: not all arguments converted during string formatting --- pym/_emerge/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py index 7aa98529d..ec7e0ce93 100644 --- a/pym/_emerge/main.py +++ b/pym/_emerge/main.py @@ -161,7 +161,7 @@ def chk_updated_info_files(root, infodirs, prev_mtimes, retval): processed_count += 1 myso = portage.subprocess_getstatusoutput( "LANG=C LANGUAGE=C %s/usr/bin/install-info " + - "--dir-file=%s/dir %s/%s" % (EPREFIX, inforoot, inforoot, x))[1] + "--dir-file=%s/dir %s/%s" % (_unicode_decode(EPREFIX), inforoot, inforoot, x))[1] existsstr="already exists, for file `" if myso!="": if re.search(existsstr,myso): -- 2.26.2