projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b6156b
)
chk_updated_info_files: run _unicode_decode on EPREFIX
author
Fabian Groffen
<grobian@gentoo.org>
Mon, 29 Aug 2011 19:00:10 +0000
(21:00 +0200)
committer
Fabian Groffen
<grobian@gentoo.org>
Mon, 29 Aug 2011 19:00:10 +0000
(21:00 +0200)
Attempt to avoid
TypeError: not all arguments converted during string formatting
pym/_emerge/main.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/main.py
b/pym/_emerge/main.py
index 7aa98529db4ca8359ddd9e0fd6150b7383ec78dc..ec7e0ce930e5a77d3fb1381e62364bba98700114 100644
(file)
--- 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):