projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f86a5a7
)
JobStatusDisplay: fix tigetstr for pypy-2.0_beta2
author
Zac Medico
<zmedico@gentoo.org>
Sat, 18 May 2013 18:16:14 +0000
(11:16 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 18 May 2013 18:16:14 +0000
(11:16 -0700)
This will fix bug #470258.
pym/_emerge/JobStatusDisplay.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/JobStatusDisplay.py
b/pym/_emerge/JobStatusDisplay.py
index f48b2135fdb24db89772a027cbc51bb26ae24515..9f6f09be0f7148a1d83ce6e8d89fc3d32d50e961 100644
(file)
--- a/
pym/_emerge/JobStatusDisplay.py
+++ b/
pym/_emerge/JobStatusDisplay.py
@@
-122,7
+122,8
@@
class JobStatusDisplay(object):
term_codes = {}
for k, capname in self._termcap_name_map.items():
- code = tigetstr(capname)
+ # Use _native_string for PyPy compat (bug #470258).
+ code = tigetstr(portage._native_string(capname))
if code is None:
code = self._default_term_codes[capname]
term_codes[k] = code