def egencache_main(args):
+ # The calling environment is ignored, so the program is
+ # completely controlled by commandline arguments.
+ env = {}
+
if not sys.stdout.isatty():
portage.output.nocolor()
+ env['NOCOLOR'] = 'true'
parser, options, atoms = parse_args(args)
config_root = options.config_root
- # The calling environment is ignored, so the program is
- # completely controlled by commandline arguments.
- env = {}
-
if options.repo is None:
env['PORTDIR_OVERLAY'] = ''
elif options.portdir_overlay:
def emirrordist_main(args):
+ # The calling environment is ignored, so the program is
+ # completely controlled by commandline arguments.
+ env = {}
+
if not sys.stdout.isatty():
portage.output.nocolor()
+ env['NOCOLOR'] = 'true'
parser, options, args = parse_args(args)
config_root = options.config_root
- # The calling environment is ignored, so the program is
- # completely controlled by commandline arguments.
- env = {}
-
if options.repo is None:
env['PORTDIR_OVERLAY'] = ''
elif options.portdir_overlay: