diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/mach/mach/logging.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/mach/mach/logging.py b/python/mach/mach/logging.py index d39f336cc0..cad5201a6b 100644 --- a/python/mach/mach/logging.py +++ b/python/mach/mach/logging.py @@ -47,6 +47,9 @@ def enable_blessed(): if os.environ.get("NO_ANSI"): return False + if not os.environ.get("MOZILLABUILD"): + return False + # MozillaBuild 4.0.2 is the first Release that supports # ANSI escape sequences, so if we're greater than that # version, we can enable them (via Blessed). |