projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eef91b
)
Bug #204651 - Make repoman respect NOCOLOR=true.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 6 Jan 2008 20:22:03 +0000
(20:22 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 6 Jan 2008 20:22:03 +0000
(20:22 -0000)
svn path=/main/trunk/; revision=9151
pym/portage/output.py
patch
|
blob
|
history
diff --git
a/pym/portage/output.py
b/pym/portage/output.py
index 148fddd0fdb7d09b60fd4061caec399bb0815c80..c491897f48760307cab33e9d707ea8f7b5835b64 100644
(file)
--- a/
pym/portage/output.py
+++ b/
pym/portage/output.py
@@
-331,7
+331,8
@@
class ConsoleStyleFile(object):
self._styles = styles
def write(self, s):
- if self._styles:
+ global havecolor
+ if havecolor and self._styles:
for style in self._styles:
self._file.write(codes[style])
self._file.write(s)