pass the nocolor setting on to emerge.
authordol-sen <brian.dolbec@gmail.com>
Mon, 25 Apr 2011 07:23:55 +0000 (00:23 -0700)
committerPaul Varner <fuzzyray@gentoo.org>
Tue, 12 Jul 2011 21:29:01 +0000 (16:29 -0500)
pym/gentoolkit/revdep_rebuild/rebuild.py

index e0ab7d12869d9e7bed0535f08b6f251060190da7..ef3a476c63040ecee67867daf85d0676f0bf37bd 100644 (file)
@@ -148,6 +148,8 @@ def rebuild(logger, assigned, settings):
                args += ' --verbose'
        elif settings['VERBOSITY'] < 1:
                args += ' --quiet'
+       if settings['nocolor']:
+               args += ' --color n'
 
        if len(emerge_command) == 0:
                logger.warn(bold('\nThere is nothing to emerge. Exiting.'))