diff options
| author | Brian Dolbec <dolsen@gentoo.org> | 2022-07-09 18:06:50 -0700 |
|---|---|---|
| committer | Brian Dolbec <dolsen@gentoo.org> | 2022-07-09 18:06:50 -0700 |
| commit | 84ffe42e52d06fd90a21c93d60dbec7c64b621cf (patch) | |
| tree | 1d18828e9a1d2e5d0e2a147c267ccf5eebfe9e59 | |
| parent | 0db35305e9ff05ef792ae18b9721772f4bdd3efb (diff) | |
| download | gentoolkit-84ffe42e52d06fd90a21c93d60dbec7c64b621cf.tar.gz | |
equery: Turn off color when piping is set
Bug: https://bugs.gentoo.org/506394
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
| -rw-r--r-- | pym/gentoolkit/equery/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/gentoolkit/equery/__init__.py b/pym/gentoolkit/equery/__init__.py index cecb5be..56b2caa 100644 --- a/pym/gentoolkit/equery/__init__.py +++ b/pym/gentoolkit/equery/__init__.py @@ -228,6 +228,8 @@ def initialize_configuration(): # set extra wide, should disable wrapping unless # there is some extra long text CONFIG["termWidth"] = 600 + # turn off color + pp.output.nocolor() CONFIG["debug"] = bool(os.getenv("DEBUG", False)) |
