projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1a4a68
)
make repoman obey NOCOLOR for bug 77566 (patch by antarus)
author
Zac Medico
<zmedico@gentoo.org>
Fri, 10 Feb 2006 01:47:47 +0000
(
01:47
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 10 Feb 2006 01:47:47 +0000
(
01:47
-0000)
svn path=/main/trunk/; revision=2688
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index 2001dfdddd628ab286ea9b23c1b60f4f6b88005d..eff9134e54fecffd9daf9aa1ee2b8677a7a7e475 100755
(executable)
--- a/
bin/repoman
+++ b/
bin/repoman
@@
-39,6
+39,8
@@
from fileinput import input
from grp import getgrnam
from stat import *
+if portage.settings["NOCOLOR"] in ("yes","true") or not sys.stdout.isatty():
+ nocolor()
def warn(txt):
print exename+": "+txt