from grp import getgrnam
from stat import *
if portage.settings["NOCOLOR"] in ("yes","true") or not sys.stdout.isatty():
nocolor()
def err(txt):
print exename+": "+txt