From 899d104efe83cdbf7dad768a6a3f1191d98fbf36 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 10 Feb 2006 01:47:47 +0000 Subject: [PATCH] make repoman obey NOCOLOR for bug 77566 (patch by antarus) svn path=/main/trunk/; revision=2688 --- bin/repoman | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.26.2