diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-02-10 01:47:47 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-02-10 01:47:47 +0000 |
commit | 899d104efe83cdbf7dad768a6a3f1191d98fbf36 (patch) | |
tree | b2e030877f401e58fefe84073a3345cf2c6dcad2 | |
parent | c1a4a68591286be94f0107fdf2168d1a7649477b (diff) | |
download | portage-899d104efe83cdbf7dad768a6a3f1191d98fbf36.tar.gz portage-899d104efe83cdbf7dad768a6a3f1191d98fbf36.tar.bz2 portage-899d104efe83cdbf7dad768a6a3f1191d98fbf36.zip |
make repoman obey NOCOLOR for bug 77566 (patch by antarus)
svn path=/main/trunk/; revision=2688
-rwxr-xr-x | bin/repoman | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman index 2001dfddd..eff9134e5 100755 --- 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 |