diff options
author | Zac Medico <zmedico@gentoo.org> | 2013-04-01 08:33:55 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2013-04-01 08:33:55 -0700 |
commit | 4e0d577fa49a6ffb3979a9370b5bf4126193ffc6 (patch) | |
tree | 256f7e243ea6728d99e9452576ac930af9277b05 /bin/egencache | |
parent | ecompressdir: fix decompress, bug #462936 (diff) | |
download | portage-4e0d577fa49a6ffb3979a9370b5bf4126193ffc6.tar.gz portage-4e0d577fa49a6ffb3979a9370b5bf4126193ffc6.tar.bz2 portage-4e0d577fa49a6ffb3979a9370b5bf4126193ffc6.zip |
egencache,emirrordist: disable color if no tty
Diffstat (limited to 'bin/egencache')
-rwxr-xr-x | bin/egencache | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/egencache b/bin/egencache index 797105c43..cbc4b28ad 100755 --- a/bin/egencache +++ b/bin/egencache @@ -844,6 +844,10 @@ class GenChangeLogs(object): self.generate_changelog(cp) def egencache_main(args): + + if not sys.stdout.isatty(): + portage.output.nocolor() + parser, options, atoms = parse_args(args) config_root = options.config_root |