From 0681b3ac9a6ab4879ca2fbfcf8aa9d00a67b8365 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Jun 2024 11:03:13 +0200 Subject: Merging upstream version 115.12.0esr. Signed-off-by: Daniel Baumann --- python/mach/mach/logging.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python') 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). -- cgit v1.2.3