From: Zac Medico Date: Fri, 10 Feb 2006 01:47:47 +0000 (-0000) Subject: make repoman obey NOCOLOR for bug 77566 (patch by antarus) X-Git-Tag: v2.1_pre5_2760~62 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=899d104efe83cdbf7dad768a6a3f1191d98fbf36;p=portage.git make repoman obey NOCOLOR for bug 77566 (patch by antarus) svn path=/main/trunk/; revision=2688 --- 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