projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a360516
)
If the TERM environment variable is unset then just use internal default
author
Zac Medico
<zmedico@gentoo.org>
Mon, 21 Dec 2009 22:54:54 +0000
(22:54 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 21 Dec 2009 22:54:54 +0000
(22:54 -0000)
term codes since the vt100 codes typically produce strange output. This
fixes strange output from catalyst stage1 builds.
svn path=/main/trunk/; revision=15129
pym/_emerge/JobStatusDisplay.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/JobStatusDisplay.py
b/pym/_emerge/JobStatusDisplay.py
index 288e355f694bda3b184d06e0694592561f188a0c..cfc0bfa91ce6419f067741ce15ff5fc002616403 100644
(file)
--- a/
pym/_emerge/JobStatusDisplay.py
+++ b/
pym/_emerge/JobStatusDisplay.py
@@
-87,7
+87,9
@@
class JobStatusDisplay(object):
False otherwise.
"""
- term_type = os.environ.get("TERM", "vt100")
+ term_type = os.environ.get("TERM", "").strip()
+ if not term_type:
+ return False
tigetstr = None
try: